Skip to content

fix(btw_app): If tokens/cost errors, don't bring down the app - #114

Merged
gadenbuie merged 1 commit into
mainfrom
fix/app-token-cost-resiliency
Oct 22, 2025
Merged

gadenbuie merged 1 commit into
mainfrom
fix/app-token-cost-resiliency

Conversation

@gadenbuie

Copy link
Copy Markdown
Collaborator

client$get_tokens() and client$get_cost() can fail for reasons (like if you mess with the turn history in a way that ellmer doesn't like), so we shouldn't bring down the app if we can't show the token/cost status

@gadenbuie
gadenbuie merged commit 9fc3621 into main Oct 22, 2025
11 checks passed
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.

1 participant