-
Notifications
You must be signed in to change notification settings - Fork 674
feat: record per-call model call metadata on v1 traces #2061
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
1ac73f4
feat(v1): record raw per-call request/response on the trace
mikasenghaas f656257
refactor: drop TTFT, type the call's dialect, unhide record_call
mikasenghaas e1ff38d
fix(v1): record mid-relay and pre-send call failures
mikasenghaas 970f63b
revert: stamp the call's wire format by route, not a dialect literal
mikasenghaas 985f166
fix(v1): record the exchange when a non-stream commit fails
mikasenghaas f00310d
fix(v1): keep response data on stream-failure call records
mikasenghaas 7a7f0a9
refactor: one commit-side record_call per path, in a finally
mikasenghaas 5087cf0
refactor: one per-exchange record_call per interception path
mikasenghaas bed6e98
fix(v1): sound per-call records under finally-time recording
mikasenghaas cd9a5a1
feat(v1): per-call status, provider headers on failed exchanges
mikasenghaas 549d058
fix(v1): real status on overlong per-call records
mikasenghaas 78ee3fe
fix(v1): derive provider headers from SDK status errors too
mikasenghaas 02dcb90
docs: status is HTTP diagnostics, error is the failure signal
mikasenghaas 9ab7ef6
fix(v1): every failed call records its surfaced status - rename statu…
mikasenghaas e7be495
chore: export ModelCall from verifiers.v1
mikasenghaas 4ab20a6
refactor(v1)!: type the per-call records, drop raw request/response
mikasenghaas 3dae631
fix(v1): conversation-state ids are payload, not settings
mikasenghaas f4b42d4
refactor(v1): whitelist the per-call sampling capture
mikasenghaas 69f6b71
refactor(v1): dialects own the per-call sampling translation
mikasenghaas b1026ca
chore: parse_sampling speaks Sampling, not SamplingConfig
mikasenghaas 432c5c4
fix(v1): complete the reasoning-effort reverse mappings
mikasenghaas 12f4132
revert: keep ProviderError.status_code, no rename break
mikasenghaas 50f007b
feat(v1)!: finish_reason lives on the call, not the node
mikasenghaas ac77409
docs: ModelCall.status is the upstream status, not the relayed one
mikasenghaas bae1e04
feat(v1)!: usage lives on the call, not the node
mikasenghaas 4d3edb8
fix(v1): canonicalize the chat max-tokens alias on call records
mikasenghaas fd3c22e
move calls
mikasenghaas 7fd980c
fix(v1): preserve gateway service tiers on Anthropic responses
mikasenghaas dc2b3f3
chore: drop the dialect unit tests
mikasenghaas 2828100
chore: keep the TRACE_VERSION docstring unversioned
mikasenghaas 5062742
refactor(v1): status_code lives on Error, not beside it
mikasenghaas cf18f49
docs: mention per-call ModelCall records in the trace overview
mikasenghaas a02c7f5
docs: add per-call records to the evaluate skill's trace checklist
mikasenghaas ce55ead
chore: ModelCall.sampling typed as Sampling; drop Branch.calls docstring
mikasenghaas 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
Some comments aren't visible on the classic Files Changed page.
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
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.
Uh oh!
There was an error while loading. Please reload this page.