feat: add session-scoped client tool waits
This commit is contained in:
@@ -533,7 +533,7 @@ class WorkflowBrain(BaseBrain):
|
||||
cancel_on_interruption=policy.cancel_on_interruption,
|
||||
timeout_secs=(
|
||||
float(((tool.definition or {}).get("config") or {}).get("timeout_seconds") or 3)
|
||||
if tool.type == "client"
|
||||
if tool.type == "client" and policy.response_wait_mode == "timeout"
|
||||
else None
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user