diff --git a/ui/src/components/ai-chat/LogOperationButton.vue b/ui/src/components/ai-chat/LogOperationButton.vue index d715f1c91..4925c255c 100644 --- a/ui/src/components/ai-chat/LogOperationButton.vue +++ b/ui/src/components/ai-chat/LogOperationButton.vue @@ -12,7 +12,7 @@ - + @@ -65,10 +65,9 @@ import { useRoute } from 'vue-router' const route = useRoute() const { - params: { id }, + params: { id } } = route as any - const props = defineProps({ data: { type: Object, @@ -118,7 +117,7 @@ const playAnswerText = (text: string) => { return } applicationApi - .postTextToSpeech(id || props.applicationId as string, { text: text }, loading) + .postTextToSpeech(id || (props.applicationId as string), { text: text }, loading) .then((res: any) => { // 假设我们有一个 MP3 文件的字节数组 // 创建 Blob 对象 diff --git a/ui/src/components/ai-chat/OperationButton.vue b/ui/src/components/ai-chat/OperationButton.vue index 1fec26d1a..651b69414 100644 --- a/ui/src/components/ai-chat/OperationButton.vue +++ b/ui/src/components/ai-chat/OperationButton.vue @@ -8,11 +8,16 @@ - - + + - + @@ -78,14 +83,14 @@ - + diff --git a/ui/src/views/template/component/CreateModelDialog.vue b/ui/src/views/template/component/CreateModelDialog.vue index f8d3d11f9..8dcb65367 100644 --- a/ui/src/views/template/component/CreateModelDialog.vue +++ b/ui/src/views/template/component/CreateModelDialog.vue @@ -37,7 +37,7 @@ - + 模型名称 @@ -103,16 +103,10 @@ - + 基础模型 + 列表中没有列出的模型,直接输入模型名称,回车即可添加 - - - 若下拉选项没有列出想要添加的LLM模型,自定义输入模型名称后回车即可 - 注意,基础模型需要与供应商的模型名称一致 - - - - + 模型名称 @@ -96,16 +96,10 @@ - + 基础模型 + 列表中没有列出的模型,直接输入模型名称,回车即可添加 - - - 若下拉选项没有列出想要添加的LLM模型,自定义输入模型名称后回车即可 - 注意,基础模型需要与供应商的模型名称一致 - - -
若下拉选项没有列出想要添加的LLM模型,自定义输入模型名称后回车即可
注意,基础模型需要与供应商的模型名称一致