Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6c38025ea6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
This pull request updates the assistant-ui documentation to reflect API changes in newer versions of the AI SDK and assistant-stream library. The changes primarily modernize the code examples and API patterns used throughout the documentation.
Changes:
- Updated AI SDK tool definitions from
parameterstoinputSchema - Replaced
maxStepswithstopWhen: stepCountIs(n)for multi-step tool use - Changed streaming response method from
toDataStreamResponse()totoUIMessageStreamResponse() - Updated encoder/decoder usage patterns to use higher-level helper functions
- Added
argsTextfield to tool-call message part types - Added version snapshot documentation with package version matrix
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| assistant-ui/skills/tools/references/human-in-loop.md | Updated tool definition to use inputSchema |
| assistant-ui/skills/tools/SKILL.md | Updated tool examples and imports to use inputSchema, stepCountIs, and toUIMessageStreamResponse() |
| assistant-ui/skills/streaming/references/encoders.md | Simplified encoder documentation to focus on helper functions |
| assistant-ui/skills/streaming/references/data-stream.md | Updated streaming examples and added createAssistantStreamResponse pattern |
| assistant-ui/skills/streaming/references/assistant-transport.md | Updated encoder usage and streaming patterns |
| assistant-ui/skills/streaming/SKILL.md | Updated streaming examples and removed legacy event types |
| assistant-ui/skills/setup/references/langgraph.md | Updated event types to use content parts pattern |
| assistant-ui/skills/setup/references/ai-sdk-v6.md | Updated to use new AI SDK v6 patterns |
| assistant-ui/skills/setup/SKILL.md | Updated streaming response method |
| assistant-ui/skills/runtime/references/local-runtime.md | Updated streaming examples to use content parts |
| assistant-ui/skills/runtime/SKILL.md | Added argsText and other fields to tool-call message part type |
| assistant-ui/skills/integrations/references/langgraph.md | Updated event parsing to use content parts |
| assistant-ui/skills/integrations/references/custom-backend.md | Updated streaming examples to use content parts |
| assistant-ui/skills/integrations/references/ai-sdk.md | Updated AI SDK patterns including structured output generation |
| assistant-ui/skills/integrations/SKILL.md | Updated streaming response method |
| assistant-ui/skills/cloud/references/persistence.md | Added fields to tool-call message part type |
| assistant-ui/skills/assistant-ui/references/packages.md | Added version snapshot table |
| assistant-ui/skills/assistant-ui/references/architecture.md | Added fields to tool-call message part type |
| assistant-ui/skills/assistant-ui/SKILL.md | Added version snapshot section |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 21 out of 21 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 21 out of 21 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.