Skip to content

Check a Fireworks key in a second, and say Fireworks is ready - #19886

Merged
dhh merged 3 commits into
quattrofrom
fireworks-signin
Nov 23, 2026
Merged

dhh merged 3 commits into
quattrofrom
fireworks-signin

Conversation

@dhh

@dhh dhh commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Adding Fireworks from the agents panel took about 20 seconds, then announced "OpenCode is ready".

  • Slow: before saving the key, the sign-in checked it by reading Fireworks' whole usage in a throwaway home. That's 30 days of history, the monthly spend, and a daily costs query that alone takes about 5 seconds; 18.7 seconds in all against a real key. The new omarchy-agent-usage-fireworks --check-key asks only for the key's account, which takes 0.7 seconds. A refused key still reads "Sign-in expired" and an unreachable one "Fireworks unavailable", so the sign-in's handling is unchanged. The panel reads the full usage afterwards, as it already did.
  • Wrong name: a key provider runs in OpenCode, so the ready notification used OpenCode's name. It now names the provider: "Fireworks is ready".

🤖 Generated with Claude Code

…enCode

Signing in checked the key by reading its whole usage, about 19 seconds, most
of it the daily costs; --check-key asks only for its account. A key's
provider, not the OpenCode that runs it, is what's announced ready.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Fireworks sign-in now checks the key’s account without fetching usage or spend. Ready notifications name the key provider instead of OpenCode.

  • Fireworks sign-in checks account access without loading the full usage report.
  • Key-based agents name their provider in ready notices.

Reviews (3) · Last reviewed commit: "Merge quattro, keeping its sticky ready ..." · Reviewed by Greptile

Comment thread bin/omarchy-agent-usage-fireworks Resolved
dhh and others added 2 commits November 23, 2026 10:12
…n reads it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er's name

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh
dhh merged commit 4851cc6 into quattro Nov 23, 2026
3 checks passed
@dhh
dhh deleted the fireworks-signin branch November 23, 2026 09:25
@emirb emirb added this to the 4.6.0 milestone Dec 1, 2026
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