Skip to content

Bump chat UI to v2 with SDK v6 protocol#4670

Draft
bendrucker wants to merge 3 commits intopydantic:mainfrom
bendrucker:ui-params
Draft

Bump chat UI to v2 with SDK v6 protocol#4670
bendrucker wants to merge 3 commits intopydantic:mainfrom
bendrucker:ui-params

Conversation

@bendrucker
Copy link
Contributor

@bendrucker bendrucker commented Mar 15, 2026

Bumps CHAT_UI_VERSION to 2.0.0 and hardcodes sdk_version=6 for the Vercel AI adapter. V2 of the UI requires SDK v6 for tool approval and denied tool states. Depends on pydantic/ai-chat-ui#16.

test_chat_app_index_endpoint and test_chat_app_index_caching will fail until @pydantic/ai-chat-ui@2.0.0 is published to the CDN.

Pre-Review Checklist

  • Any AI generated code has been reviewed line-by-line by the human PR author, who stands by it.
  • No breaking changes in accordance with the version policy.
  • Linting and type checking pass per make format and make typecheck.
  • PR title is fit for the release changelog.

Pre-Merge Checklist

  • New tests for any fix or new behavior, maintaining 100% coverage.
  • Updated documentation for new features and behaviors, including docstrings for API docs.

@github-actions github-actions bot added size: S Small PR (≤100 weighted lines) bug Report that something isn't working, or PR implementing a fix labels Mar 15, 2026
@bendrucker bendrucker changed the title feat: thread sdk_version through Agent.to_web() ui: bump chat UI to v2 with SDK v6 protocol Mar 16, 2026
@bendrucker bendrucker changed the title ui: bump chat UI to v2 with SDK v6 protocol Bump chat UI to v2 with SDK v6 protocol Mar 16, 2026
@bendrucker bendrucker mentioned this pull request Mar 16, 2026
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Report that something isn't working, or PR implementing a fix size: S Small PR (≤100 weighted lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant