浏览代码

feat: gpt-4o-mini-2024-07-18 support json schema (#7489)

非法操作 8 月之前
父节点
当前提交
f7af8c7cc7
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      api/core/model_runtime/model_providers/openai/llm/gpt-4o-mini-2024-07-18.yaml

+ 3 - 0
api/core/model_runtime/model_providers/openai/llm/gpt-4o-mini-2024-07-18.yaml

@@ -37,6 +37,9 @@ parameter_rules:
     options:
       - text
       - json_object
+      - json_schema
+  - name: json_schema
+    use_template: json_schema
 pricing:
   input: '0.15'
   output: '0.60'