LLM max_tokens 1000→8000: reasoning-модели тратили весь лимит на размышления и возвращали пустой ответ
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,8 @@ class LLMConfig(BaseModel):
|
||||
# before the user has picked one.
|
||||
model: str = ""
|
||||
timeout: int = 120
|
||||
max_tokens: int = 1000
|
||||
# у reasoning-моделей сюда входят и токены размышлений
|
||||
max_tokens: int = 8000
|
||||
temperature: float = 0.3
|
||||
extra_headers: dict[str, str] = Field(default_factory=dict)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user