Skip to content

Comments

Do not fetch pricing information if GOOSE_CLI_SHOW_COST is false#3901

Merged
jamadeo merged 1 commit intoblock:mainfrom
ayax79:no-pricing-fetch
Aug 14, 2025
Merged

Do not fetch pricing information if GOOSE_CLI_SHOW_COST is false#3901
jamadeo merged 1 commit intoblock:mainfrom
ayax79:no-pricing-fetch

Conversation

@ayax79
Copy link
Contributor

@ayax79 ayax79 commented Aug 6, 2025

The call to openrouter.ai to fetch pricing information generates a lot of annoying WARN messages in cases where it is blocked by corporate firewalls. It seems that if displaying costing is turned off, the fetch from openrouter.ai should not happen.

Copy link
Collaborator

@michaelneale michaelneale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @ayax79 seems to make sense to me.

@jamadeo jamadeo merged commit e173c22 into block:main Aug 14, 2025
10 checks passed
katzdave added a commit that referenced this pull request Aug 14, 2025
…-messaging

* 'main' of github.com:block/goose:
  chore: add info tooltip to share session button (#4038)
  Reroute routes (#4088)
  fix(cli): fix compiling issue on windows system by adding a missing param (#4019)
  fix: hide console window for stdio extensions on Windows (#4085)
  Do not fetch pricing information if GOOSE_CLI_SHOW_COST is false (#3901)
  blog: fixing links (#4089)
michaelneale added a commit that referenced this pull request Aug 15, 2025
* main: (21 commits)
  docs: fix experimental warning (#4102)
  fix not being able to add spaces to activity message area (#4055)
  remove and cleanup unused code (#4074)
  docs: Add missing references to smart_approve mode. (#4094)
  quick typo fix pulse blog (#4095)
  fix: update dictation settings handling and improve user feedback (#4093)
  chore: add info tooltip to share session button (#4038)
  Reroute routes (#4088)
  fix(cli): fix compiling issue on windows system by adding a missing param (#4019)
  fix: hide console window for stdio extensions on Windows (#4085)
  Do not fetch pricing information if GOOSE_CLI_SHOW_COST is false (#3901)
  blog: fixing links (#4089)
  Token counting reliability + summarization integration. (#3721)
  Skip ci builds for docs (#4087)
  blog: agent coordination patterns (#4086)
  docs: Blog - How I Used Goose to Rebuild My Website (#4076)
  docs: custom context file names (#4077)
  Blog: How Pulse MCP Used Goose to Automate Their Newsletter (#4075)
  Load recipe deeplinks in single window when app is closed (#4048)
  docs: make accurate the comments with links to unsigned builds of the app (#4070)
  ...
@ayax79 ayax79 deleted the no-pricing-fetch branch August 18, 2025 20:53
ayax79 added a commit to ayax79/goose that referenced this pull request Aug 21, 2025
…ck#3901)

Co-authored-by: Jack Wright <jack.wright@nike.com>
Signed-off-by: Jack Wright <jack.wright@nike.com>
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.

3 participants