Add compact video agent API responses - #23
Merged
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Changes
Agent run responses currently repeat identities and return detailed citations and artifacts alongside the answer. Add an opt-in
responseFormat=compactto admission and polling so clients receive the answer, deduplicated numbered sources, warnings, outcome, and top-level billing.[1]references in first-use order, combining adjacent references to the same video. Reuse stored video titles where available.answered,partial,insufficient_evidence, andneeds_clarificationfrom execution status.include=evidence,artifacts,diagnostics.This changes response serialization only. Internal transcript analysis and exact citation validation remain. Session restoration retains its existing format. Historical outcomes rely on persisted warnings; older runs without
NO_CONTENT_EVIDENCEcannot always distinguish unavailable content from other partial results.Validation
The broader web build could not complete locally because Turbopack encountered a port-binding permission error. CI should verify that build. No production deployment has been performed for this change.