You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(chat-messages): add an agent steps example - #7256
📖 Documentation (updates to the documentation or readme)
🐞 Bug fix (a non-breaking change that fixes an issue)
👌 Enhancement (improving an existing functionality)
✨ New feature (a non-breaking change that adds functionality)
🧹 Chore (updates to the build process or auxiliary tools and libraries)
⚠️ Breaking change (fix or feature that would cause existing functionality to change)
📚 Description
This PR adds a "With agent steps" example to the ChatMessages docs. It renders an agent run from real AI SDK parts through the #part slot: a reasoning row, two commands with their output in ProsePre, a failed command with error, a "Used 2 sources" row that lists the source-url parts, and the markdown reply.
The sources row only renders on the first source-url part, the second one falls back to the default output, which renders nothing for a non-text part.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 3 remain after this review.
📝 Walkthrough
The new example defines typed user and assistant messages with reasoning, successful and failed tool results, source links, and Markdown text. It renders these parts through conditional branches in UChatMessages, groups source links into one tool card, and shows error output for failed tool calls. The chat documentation adds a forthcoming example that describes the #part slot rendering pattern.
The documentation example has no identified issue requiring a fix before merge.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title describes a docs change that adds an agent steps example to the chat-messages docs. The changeset adds a new Vue example component (ChatMessagesAgentStepsExample.vue) and a documentation sec…
Description check
The description states that the PR adds a 'With agent steps' example to the ChatMessages docs. It explains the #part slot usage, the reasoning row, the commands with ProsePre output, the failed comman…
Docstring Coverage
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title describes a docs change that adds an agent steps example to the chat-messages docs. The changeset adds a new Vue example component (ChatMessagesAgentStepsExample.vue) and a documentation section marked 'Soon' in chat-messages.md, so the title matches the main change. It uses the conventional 'docs(scope):' format and is under 50 characters.
Full details: Description check
Explanation
The description states that the PR adds a 'With agent steps' example to the ChatMessages docs. It explains the #part slot usage, the reasoning row, the commands with ProsePre output, the failed command with error, the sources row, and the markdown reply. These match the raw summary of both changed files. It also notes the PR is stacked on #7253 and checks the documentation box.
Full details: Docstring Coverage
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches
🧪 Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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.
🔗 Linked issue
❓ Type of change
📚 Description
This PR adds a "With agent steps" example to the ChatMessages docs. It renders an agent run from real AI SDK parts through the
#partslot: a reasoning row, two commands with their output inProsePre, a failed command witherror, a "Used 2 sources" row that lists thesource-urlparts, and the markdown reply.The sources row only renders on the first
source-urlpart, the second one falls back to the default output, which renders nothing for a non-text part.Stacked on #7253.
📝 Checklist