This commit is contained in:
ollie-anthropic 2025-12-20 11:44:48 +01:00 committed by GitHub
commit 54b8bd6477
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,8 @@ class AgentDefinition:
prompt: str
tools: list[str] | None = None
model: Literal["sonnet", "opus", "haiku", "inherit"] | None = None
timeout: float | None = None # Timeout in seconds for subagent execution
max_turns: int | None = None # Maximum turns for this agent
# Permission Update types (matching TypeScript SDK)