Bladeren bron

修改ai参数model: "gpt-4o-2024-08-06",

SanHQin 10 maanden geleden
bovenliggende
commit
8e8e83361b

+ 1 - 0
src/components/classRoomHelper/component/countdown.vue

@@ -1297,6 +1297,7 @@ ${_textData}
 				message: [{ type: "text", text: _msg }],
 				session_name: uuidv4(),
 				file_ids: this.fileId,
+				model: "gpt-4o-2024-08-06",
 			};
 			this.ajax
 				// .post("https://gpt4.cocorobo.cn/chat", params)

+ 1 - 0
src/components/classRoomHelper/component/languageAssistant.vue

@@ -315,6 +315,7 @@ export default {
 									session_name: _uuid + "-qgt",
 									uid: _uuid,
 									file_ids: [],
+									model: "gpt-4o-2024-08-06",
 								};
 								this.ajax
 									// .post("https://claude3.cocorobo.cn/chat", params)

+ 2 - 1
src/components/classRoomHelper/component/levitatedSphere.vue

@@ -199,7 +199,8 @@ export default {
                   message: this.userText,
                   session_name: _uuid + "-qgt",
                   uid: _uuid,
-                  file_ids: []
+                  file_ids: [],
+									model: "gpt-4o-2024-08-06",
                 };
                 this.ajax
                   // .post("https://claude3.cocorobo.cn/chat", params)

+ 12 - 6
src/components/classRoomHelper/component/searchArea.vue

@@ -1847,7 +1847,8 @@ export default {
         message: _text,
         session_name: `${this.courseId}-studyStudent-md`,
         uid: _uuid,
-        file_ids: this.fileId
+        file_ids: this.fileId,
+				model: "gpt-4o-2024-08-06",
       };
       // let params = {
       //   model: "gpt-3.5-turbo",
@@ -2016,7 +2017,8 @@ ${_atList
         message: _text,
         session_name: `${this.courseId}-studyStudent-md`,
         uid: _uuid,
-        file_ids: this.fileId
+        file_ids: this.fileId,
+				model: "gpt-4o-2024-08-06",
       };
       // let params = {
       //   model: "gpt-3.5-turbo",
@@ -2418,7 +2420,8 @@ Instruction: Based on the context, follow "Format example", write content
         message: [{ type: "text", text: _msg }],
         session_name: _uuid,
         // uid: _uuid,
-        file_ids: this.fileId
+        file_ids: this.fileId,
+				model: "gpt-4o-2024-08-06",
       };
       // let params = {
       //   message: {
@@ -2530,7 +2533,8 @@ Instruction: Based on the context, follow "Format example", write content
         message: history,
         session_name: _uuid,
         // uid: _uuid,
-        file_ids: this.fileId
+        file_ids: this.fileId,
+				model: "gpt-4o-2024-08-06",
       };
       // let params = {
       //   message: {
@@ -2785,7 +2789,8 @@ ${_wordData}
             message: _text,
             session_name: `${this.courseId}-studyStudent-md`,
             uid: _uuid,
-            file_ids: this.fileId
+            file_ids: this.fileId,
+						model: "gpt-4o-2024-08-06",
           };
           // let params = {
           //   model: "gpt-3.5-turbo",
@@ -2982,7 +2987,8 @@ ${_wordData}
         message: _text,
         session_name: `${this.courseId}-studyStudent-md`,
         uid: _uuid,
-        file_ids: this.fileId
+        file_ids: this.fileId,
+				model: "gpt-4o-2024-08-06",
       };
       // let params = {
       //     model: "gpt-3.5-turbo",

+ 6 - 3
src/components/classRoomHelper/component/taskArea.vue

@@ -1129,7 +1129,8 @@ ${_textData}
         message: [{ type: "text", text: _msg }],
         session_name: uuidv4(),
         // uid: _uuid,
-        file_ids: this.fileId
+        file_ids: this.fileId,
+				model: "gpt-4o-2024-08-06",
       };
 
       this.ajax
@@ -1400,7 +1401,8 @@ ${taskText}
         message: [{ type: "text", text: _msg }],
         session_name: uuidv4(),
         // uid: _uuid,
-        file_ids: this.fileId
+        file_ids: this.fileId,
+				model: "gpt-4o-2024-08-06",
       };
 
       this.ajax
@@ -1684,7 +1686,8 @@ ${_choiceText}
           message: [{ type: "text", text: _msg }],
           session_name: uuidv4(),
           // uid: _uuid,
-          file_ids: this.fileId
+          file_ids: this.fileId,
+					model: "gpt-4o-2024-08-06",
         };
 
         this.ajax