Make LLM timeout configurable via AgentConfig (#37)

This commit is contained in:
Solaria
2026-03-14 09:29:01 +00:00
parent 0f62267806
commit 585e9a4713
2 changed files with 7 additions and 3 deletions
+1
View File
@@ -28,6 +28,7 @@ class AgentConfig(BaseModel):
temperature: float = Field(default=0.7, ge=0.0, le=2.0)
max_tokens: Optional[int] = Field(default=None, description="Max tokens per response")
max_iterations: int = Field(default=10, description="Max iterations per agent task")
timeout: float = Field(default=120.0, description="HTTP timeout in seconds")
# Provider configuration
provider: str = Field(default="minimax", description="LLM provider: minimax, openai, anthropic")