mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-01 17:00:21 +08:00
feat(provider): 更新请求模型添加格式转换开关字段
This commit is contained in:
@@ -405,6 +405,9 @@ class UpdateProviderRequest(BaseModel):
|
||||
None, description="Claude Code 特有配置"
|
||||
)
|
||||
failover_rules: FailoverRulesConfig | None = Field(None, description="故障转移规则配置")
|
||||
enable_format_conversion: bool | None = Field(
|
||||
None, description="是否允许格式转换(提供商级别开关)"
|
||||
)
|
||||
config: dict[str, Any] | None = None
|
||||
|
||||
# 复用相同的验证器
|
||||
|
||||
Reference in New Issue
Block a user