goose icon indicating copy to clipboard operation
goose copied to clipboard

Allow configuration for extension timeouts

Open kalvinnchau opened this issue 11 months ago • 0 comments

Please explain the motivation behind the feature request. Some tool calls can take longer than the default 300s timeout, in some cases users may want to have longer timeouts (long builds, compilations, etc)

Describe the solution you'd like We should allow timeouts to be user configured, while keeping the existing defaults. https://github.com/block/goose/blob/main/crates/goose/src/agents/capabilities.rs#L104-L136

We'd need to consider how we make this configurable, potentially in the extension config in the yaml? Potentially:

  developer:
    enabled: true
    name: developer
    type: builtin
    timeout_seconds: 900

Describe alternatives you've considered We could just increase the default timeout, but that does mean for cases where tool calls are slow users will need to wait longer for force goose to stop manually.

Additional context Add any other context or screenshots about the feature request here.

  • [x] I have verified this does not duplicate an existing feature request

kalvinnchau avatar Feb 27 '25 17:02 kalvinnchau