From 305a35f9636a6a571d399629f06c6a57e205ff9b Mon Sep 17 00:00:00 2001 From: Kirigaya <1193466151@qq.com> Date: Tue, 3 Jun 2025 15:32:15 +0800 Subject: [PATCH] support grok3 & support model update --- .../src/components/main-panel/chat/message/toolcall.vue | 6 +++--- renderer/src/views/setting/connect-interface-openai.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/renderer/src/components/main-panel/chat/message/toolcall.vue b/renderer/src/components/main-panel/chat/message/toolcall.vue index 4a8aa86..e680754 100644 --- a/renderer/src/components/main-panel/chat/message/toolcall.vue +++ b/renderer/src/components/main-panel/chat/message/toolcall.vue @@ -20,7 +20,7 @@ - {{ props.message.tool_calls[0].function.name }} + {{ props.message.tool_calls[0].function!.name }} @@ -37,7 +37,7 @@ - {{ props.message.tool_calls[toolIndex].function.name }} + {{ props.message.tool_calls[toolIndex].function!.name }} @@ -46,7 +46,7 @@
- +
diff --git a/renderer/src/views/setting/connect-interface-openai.vue b/renderer/src/views/setting/connect-interface-openai.vue index 0219a3e..7303cc3 100644 --- a/renderer/src/views/setting/connect-interface-openai.vue +++ b/renderer/src/views/setting/connect-interface-openai.vue @@ -14,7 +14,7 @@ v-for="option in llms[llmManager.currentModelIndex].models" :value="option" :label="option" - :key="option.id" + :key="option" >