Repository navigation
feat(gui): live routing tab with skip reasons, timing and context breakdown, plus GET /v1/usage/live #8741
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
Draft
andrew05060414
wants to merge
23
commits into
lidge-jun:dev
Choose a base branch
from
andrew05060414:regroup/live-routing
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
feat(gui): live routing tab with skip reasons, timing and context breakdown, plus GET /v1/usage/live #8741
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0f5916f
feat(gui): live routing tab: see which account answered, why others w…
andrew05060414 146373d
feat(gui): context-window breakdown and prompt-cache meter on the liv…
andrew05060414 329f65e
feat(usage): serve a read-only live meter on GET /v1/usage/live
andrew05060414 cc3467d
fix(gui): live routing tab shows each fact once and draws the context…
andrew05060414 2aa903e
fix(usage): live meter reports no speed for retried rows and no hit r…
andrew05060414 054f7a0
fix(usage): a data key reads only its own requests on GET /v1/usage/live
andrew05060414 48319c0
fix(usage): context breakdown counts system images, legacy Chat funct…
andrew05060414 28bf900
fix(gui): live routing rows name each metric for screen readers and s…
andrew05060414 a1cdae8
docs(usage): live meter key scope, multiple_attempts and cache_unobse…
andrew05060414 e2edfc5
docs(structure): data-loopback allowlist names the context relays and…
andrew05060414 35b4a77
fix(server): the loopback listener admits the live-meter preflight
andrew05060414 2e2191d
docs(es): mirror the live routing section in the Spanish model routin…
andrew05060414 1989f00
test(usage): name the context breakdown test so the usage- seed place…
andrew05060414 36cda3f
fix(gui): native meter for the cache hit rate; combos link built from…
andrew05060414 85abe57
Merge upstream/dev (ae7748e6c) into regroup/live-routing
andrew05060414 902e69b
fix(live-routing): gate context breakdown on live observation and dro…
andrew05060414 23576ab
Merge remote-tracking branch 'upstream/dev' into regroup/live-routing
andrew05060414 a69dfab
Merge remote-tracking branch 'upstream/dev' into regroup/live-routing
andrew05060414 53cf68f
test(gui): count six Models tabs after merging upstream overall tab w…
andrew05060414 5286f26
Merge remote-tracking branch 'upstream/dev' into regroup/live-routing
andrew05060414 3ad37a8
fix: address live routing review feedback
andrew05060414 9e2231f
fix: classify the read-only live meter for body admission
andrew05060414 a72918a
Merge remote-tracking branch 'upstream/dev' into regroup/live-routing
andrew05060414 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Qualify the key-scope rule by bind address.
The paragraph says a configured data key limits results to its own requests. On a loopback bind, the server does not read the key.
resolveApiAuthreturns a loopback admission first, and the endpoint returns every request. A caller that sends a key on a loopback bind therefore sees all rows, which contradicts the first sentence. The docs do not say that the loopback case takes precedence.State the non-loopback condition for key scoping, and state that loopback callers see every request regardless of any key they send. Apply the same wording to the translated management API pages.
Suggested wording
Source: Coding guidelines