Skip to content

Conversation

@sam-at-block
Copy link
Contributor

Add support for GOOSE_DEBUG environment variable to enable debug mode without requiring the --debug CLI flag. Follows existing precedence pattern where CLI flags take priority over environment variables.

  • CLI --debug flag overrides GOOSE_DEBUG env var
  • GOOSE_DEBUG=true shows full tool parameters without truncation
  • Defaults to false if neither CLI flag nor env var is set
  • Uses same config.get_param() pattern as GOOSE_PROVIDER/GOOSE_MODEL

@DOsinga
Copy link
Collaborator

DOsinga commented Oct 2, 2025

hi @sam-at-block - do you still want to get this in? if you remove the comment & sync to main, we can make it happen

Add support for GOOSE_DEBUG environment variable to enable debug mode
without requiring the --debug CLI flag. Follows existing precedence
pattern where CLI flags take priority over environment variables.

- CLI --debug flag overrides GOOSE_DEBUG env var
- GOOSE_DEBUG=true shows full tool parameters without truncation
- Defaults to false if neither CLI flag nor env var is set
- Uses same config.get_param() pattern as GOOSE_PROVIDER/GOOSE_MODEL

Signed-off-by: Sam Osborn <[email protected]>
@DOsinga DOsinga merged commit 73e35c1 into block:main Oct 3, 2025
10 checks passed
wpfleger96 added a commit to wpfleger96/goose that referenced this pull request Oct 3, 2025
* main:
  Removed unused libs (block#4932)
  Platform extensions sketch (block#4868)
  Add reply to the routes (block#4963)
  feat(cli): add GOOSE_DEBUG environment variable support (block#4825)
lifeizhou-ap added a commit that referenced this pull request Oct 6, 2025
* main: (22 commits)
  fix: Issue #4540: `goose configure` -> Cursor Agent succeeds (#4942)
  feat: Add advanced data analysis pipeline recipe (#4990) (#5005)
  Create / edit recipe form unification and improvements (#4693)
  feat: add Code Review Mentor recipe with Developer and Memory extensions (#4992) (#5014)
  feat: set custom models for lead/worker (#4598)
  feat: add grok-code-fast-1 support for xAI provider (#4472)
  Persist dynamic extension config so we can resume recipe sessions w/ extensions (#4331)
  fix: show PowerShell PATH instructions for Windows users (#4989)
  feat: add Smart Task Organizer recipe for Hacktoberfest (#4936)
  Fix extension headers (#5000)
  feat: add advanced software project generator initializer recipe (#4767) (#4949)
  Removed unused libs (#4932)
  Platform extensions sketch (#4868)
  Add reply to the routes (#4963)
  feat(cli): add GOOSE_DEBUG environment variable support (#4825)
  docs: Change community page sections (#4984)
  docs: remove temporary Hacktoberfest issue templates (#4982)
  Create multi-channel researcher prompt (#4947)
  docs: Add Community Content section to Community Page (#4964)
  Allow empty API Key when registering custom provider (#4977)
  ...
Itz-Agasta pushed a commit to Itz-Agasta/goose that referenced this pull request Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants