fix: support max reasoning and custom model selection for 1.0.0
This commit is contained in:
1 parent
e1185a5104
commit
2ec563c079
12 files changed
+119
-16
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user