Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Change no usage found warning to a debug trace #1192

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

ahau-square
Copy link
Collaborator

@ahau-square ahau-square commented Feb 11, 2025

It can be confusing when "no usage found" warning is emitted in the CLI. It doesn't interrupt Goose's execution but has led some users to thinking it is the cause behind other issues they're seeing (such as no content returned from the provider e.g., #1170 or another provider error e.g., in #899).

I am personally unable to repro these issues (I created a session that I manually edited to contain an empty content array from the assistant in one message, but Goose with OpenAI and OpenRouter+Anthropic continued the session just fine).

@alicehau alicehau merged commit 1af6784 into main Feb 11, 2025
6 checks passed
@alicehau alicehau deleted the ahau/usage-error-handling branch February 11, 2025 18:23
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