-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
Milestone
Description
Currently, in order to implement adaptable timeouts for tool invocations, one either needs to: (a) construct tools dynamically using closures, or (b) pass timeout variables via RunContext and alter the timeout logic of the function. It would be convenient for developers to be able to specify a tool_timeout and model_response_timeout in the FunctionTool and RunConfig classes respectively in order to prevent tools from taking too long; for gated OAI tools, both options are out of the picture. Ideally, for tool timeouts one can decide whether to raise an AgentsException or not.