chengjie 6 mesi fa
parent
commit
73fbb6e3b1
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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
             }