[Topic: Python SDK, TerminalTool, TerminalAction t...
# proj-agent
b
[Topic: Python SDK, TerminalTool, TerminalAction timeout] Hello everyone! 🙌 I have a question about the
TerminalTool
, in particular about how the timeout for long action is handled. Unless I’m mistaking, the timeout of a
TerminalAction
is completely handled by the underlying model and there is no way we can impose a maximum cap on the timeout from the SDK. In my scenarios, it happened more than once that gpt-5-mini produced an action (which should’ve timeout) with a timeout set to 120000 seconds (~33 hours). So my question is: is there a way of imposing a maximum cap (ex. 120 seconds) from the SDK? Otherwise I think that could be a potential useful feature in the codebase.
l
Maybe not yet, but we’d accept a PR to this effect!