Skip to content

feat: add GOOSE_PROVIDER_TIMEOUT config for provider API timeouts - #9145

Closed
Raptors65 wants to merge 1 commit into
mainfrom
lucas/feat/goose-provider-timeout
Closed

feat: add GOOSE_PROVIDER_TIMEOUT config for provider API timeouts#9145
Raptors65 wants to merge 1 commit into
mainfrom
lucas/feat/goose-provider-timeout

Conversation

@Raptors65

@Raptors65 Raptors65 commented May 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

While working on #9138, I noticed Goose has a 600s timeout for all providers, which is from the initial request to the stream ending. When Goose hits this timeout, it gives the following error:

Ran into this error: Request failed: Stream decode error: error decoding response body

Please retry if you think this is a transient or recoverable error.

This is configurable for some providers (specifically, OpenAI, Ollama, and LiteLLM) but not others. It seems to make sense to have a more general GOOSE_PROVIDER_TIMEOUT that we fall back to whenever a provider-specific value isn't provided; we might also want to add provider-specific configs for the other providers in a follow up.

This PR adds a GOOSE_PROVIDER_TIMEOUT that we fall back to whenever a provider-specific value isn't provided.

Testing

unit tests

Related Issues

N/A

Screenshots/Demos (for UX changes)

N/A (no UX changes)

@Raptors65

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Raptors65
Raptors65 force-pushed the lucas/feat/goose-provider-timeout branch 2 times, most recently from 6bb11d7 to 4e3b520 Compare May 12, 2026 14:34
@Raptors65
Raptors65 force-pushed the lucas/feat/goose-provider-timeout branch from 4e3b520 to 269e82a Compare May 15, 2026 15:38
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity for 23 days.

What happens next?

  • If no further activity occurs, this PR will be automatically closed in 7 days
  • To keep this PR active, simply add a comment, push new commits, or add the keep-open label
  • If you believe this PR was marked as stale in error, please comment and we'll review it

Thank you for your contribution! 🚀

@github-actions github-actions Bot added the stale label Jun 8, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed due to inactivity.

Why was this closed?

  • No activity for 30 days total (23 days + 7 day grace period)
  • Marked as stale 7 days ago with no subsequent activity

Want to reopen?

  • You can reopen this PR at any time if you want to continue working on it
  • Consider rebasing against the latest main branch before reopening
  • Feel free to reach out if you need any assistance

Thank you for your contribution! We appreciate your effort. 🙏

@github-actions github-actions Bot closed this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant