feat: Integrate Swiper library and enhance chat functionality

- Added Swiper library to package dependencies for improved UI components.
- Updated chat API to include summary model ID in message handling, allowing for more flexible model selection.
- Enhanced InputField component to manage model selection and state more effectively.
- Improved event handling in chat components to support new model features and ensure accurate message processing.
- Refactored SVG assets for better visual consistency and updated styles for improved user experience.
This commit is contained in:
wizardchen
2025-11-09 00:02:31 +08:00
parent 6e147be202
commit 83721f98d4
40 changed files with 5030 additions and 2085 deletions
@@ -4,6 +4,7 @@
<SearchResults
v-if="displayType === 'search_results'"
:data="toolData as SearchResultsData"
:arguments="toolArguments"
/>
<!-- Chunk Detail -->
@@ -90,6 +91,7 @@ interface Props {
displayType?: DisplayType;
toolData?: Record<string, any>;
output?: string;
arguments?: Record<string, any>;
}
const props = defineProps<Props>();
@@ -97,6 +99,7 @@ const props = defineProps<Props>();
const displayType = computed(() => props.displayType);
const toolData = computed(() => props.toolData || {});
const output = computed(() => props.output || '');
const toolArguments = computed(() => props.arguments || {});
</script>
<style lang="less" scoped>