fix: support max reasoning and custom model selection for 1.0.0

This commit is contained in:
chenmingxuan committed 2026-09-23 00:24:35 +08:00
1 parent e1185a5104
commit 2ec563c079
12 files changed
+119 -16

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ class LLM(BaseModel):
max_tokens: int | None = Field(default=None, gt=0)
temperature: float | None = None
reasoning_effort: (
Literal["default", "none", "minimal", "low", "medium", "high", "xhigh"] | None
Literal["default", "none", "minimal", "low", "medium", "high", "xhigh", "max"] | None
) = Field(default_factory=lambda: settings.OPENAI_REASONING_EFFORT)
enable_grounding: bool | None = None