chengjie 4 月之前
父节点
当前提交
73fbb6e3b1
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/api/yjbdc/aiController.js

+ 3 - 0
src/api/yjbdc/aiController.js

@@ -94,6 +94,9 @@ class VolcesAIProvider extends AIProvider {
94
                     "content": content,
94
                     "content": content,
95
                 }
95
                 }
96
             ],
96
             ],
97
+            "response_format": {
98
+                "type": "json_object"
99
+            },
97
             "thinking": {
100
             "thinking": {
98
                 "type": "disabled"
101
                 "type": "disabled"
99
             }
102
             }