feat(chat): 完善 Chat Completions 兼容层

This commit is contained in:
2026-05-19 17:46:27 +08:00
parent ba419cd90a
commit 13186f8ed1
13 changed files with 1611 additions and 85 deletions
+5
View File
@@ -7281,6 +7281,11 @@
"type": "string",
"example": "A watercolor robot reading a book"
},
"reasoning_effort": {
"description": "ReasoningEffort 推理深度,OpenAI-compatible 请求字段;开放字符串,取值随 provider 和模型能力而定,常见值为 none、minimal、low、medium、high、xhigh,也可配置 max 等供应商自定义值。",
"type": "string",
"example": "medium"
},
"resolution": {
"type": "string",
"example": "720p"
+5
View File
@@ -587,6 +587,11 @@ definitions:
prompt:
example: A watercolor robot reading a book
type: string
reasoning_effort:
description: ReasoningEffort 推理深度,OpenAI-compatible 请求字段;开放字符串,取值随 provider
和模型能力而定,常见值为 none、minimal、low、medium、high、xhigh,也可配置 max 等供应商自定义值。
example: medium
type: string
resolution:
example: 720p
type: string