feat(statusline): surface fallback-model indicator - #209
Open
KokaKiwi wants to merge 2 commits into
Open
Conversation
…e-in-the-claude-code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Description of Changes
Surfaces when the session's most recent request landed on an on-error fallback route, right in the Claude Code statusline, so developers can see fallback state without digging through logs.
edgee statusline's summary fetch was broken: it called/v1/sessions/{session_id}/summary, but the registered route also needs an org slug, and nothing ever set one. The renderer's "never crash" fallback hid this as a silent 404-to-bare-marker.EDGEE_ORG_SLUGis now set alongsideEDGEE_SESSION_IDat every agent-spawn site (relay::spawn_agent/run_agent, plus all 8 direct-spawnlaunch/*.rstargets), andrender.rsbuilds the correct 3-segment URL from it.SessionSummarygainstotal_fallback_requests,last_request_is_fallback, andlast_request_model.format_lineappends⚠ fallback: {model} (N this session)when the last request used one. Needs edgee-ai/api#1169 to land to populate those fields.Related Issues
EDGEE-1597