support grok3 & support model update

This commit is contained in:
锦恢 2025-06-03 15:32:15 +08:00
parent c252ed0b9f
commit 305a35f963
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
<span class="tool-name">
<span class="iconfont icon-tool"></span>
{{ props.message.tool_calls[0].function.name }}
{{ props.message.tool_calls[0].function!.name }}
</span>
<el-button size="small" @click="createTest(props.message.tool_calls[0])">
<span class="iconfont icon-send"></span>
@ -37,7 +37,7 @@
<span class="tool-name">
<span class="iconfont icon-tool"></span>
{{ props.message.tool_calls[toolIndex].function.name }}
{{ props.message.tool_calls[toolIndex].function!.name }}
</span>
<el-button size="small" @click="createTest(props.message.tool_calls[toolIndex])">
<span class="iconfont icon-send"></span>
@ -46,7 +46,7 @@
</div>
<div class="tool-arguments">
<json-render :json="props.message.tool_calls[toolIndex].function.arguments"/>
<json-render :json="props.message.tool_calls[toolIndex].function!.arguments"/>
</div>
<!-- 工具调用结果 -->

View File

@ -14,7 +14,7 @@
v-for="option in llms[llmManager.currentModelIndex].models"
:value="option"
:label="option"
:key="option.id"
:key="option"
></el-option>
</el-select>
</div>