Browse Source

feat: 变更增强按钮文字

sunxiao 1 month ago
parent
commit
736cf6474d
2 changed files with 2 additions and 1 deletions
  1. 1 1
      src/components/Chat/ChatAgentInput.vue
  2. 1 0
      src/views/answer/AnswerView.vue

+ 1 - 1
src/components/Chat/ChatAgentInput.vue

@@ -384,7 +384,7 @@ defineExpose({
         <div class="switch-inner pt-[8px] flex justify-between items-center">
           <div class="space-x-[6px]">
             <NSwitch size="small" v-model:value="switchStatus"></NSwitch>
-            <span class="text-[12px] text-[#9E9E9E]">使用搜索增强</span>
+            <span class="text-[12px] text-[#9E9E9E]">使用deepseek R1</span>
           </div>
           <div>
             <TheArchival></TheArchival>

+ 1 - 0
src/views/answer/AnswerView.vue

@@ -114,6 +114,7 @@ const onRegenerate = async ({ showVal, question, realQuestion, tools, uploadFile
       showVal: showVal,
       question: realQuestion || fileQuestionStr || question,
       module: 0,
+      modelType: Number(unref(switchActive)),
       isStrong: Number(unref(switchActive)),
       tools,
       prompt: null