Repository navigation
feat(trajectories): add exact token content attribution - #769
Draft
bradhilton wants to merge 1 commit into
Draft
bradhilton wants to merge 1 commit into
bradhilton wants to merge 1 commit into
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This branch was successfully deployed
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.
Agent: Unattributed
Add
TokenFlag.CONTENTand sequence-levelcontent_attribution_complete. Mark caller/model body tokens only after rendering exactly reproduces every engine-consumed prompt ID and the sampled output IDs. Consumers must require complete attribution and a nonempty mask before averaging.The recorded support matrix covers streaming/nonstreaming Chat Completions, Messages and Responses for ART-registry Qwen3, Qwen3.5/Qwen3.6 dense/MoE models, OpenPipe/Qwen3-14B-Instruct with its documented tool-history limit, and GPT-OSS 20B/120B. Gemma 4, DeepSeek V4, explicit Base variants, raw Completions, custom templates, unknown models, multi-generation Responses and incomplete/divergent metadata leave CONTENT unset.
Historical validation: 100 trajectory/renderer-parity tests and 386 backend tests passed, with three skips; repository hooks and adversarial review passed. A disposable H200 vLLM 0.24.0/Qwen3-0.6B check verified exact prompt IDs across all three APIs and both response modes. CI covered the locally unavailable Megatron/TE partition. Live SGLang parity and a dedicated cached optional-renderer CI job remain absent. Caladan #82 supplies the companion engine prompt-token carriers.
Draft. Responsible agent and current readiness are unverified; historical evidence is not a fresh qualification.
Historical agent ownership is unverified; this remains in the unattributed bucket.