소스 검색

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'