Upgrade web UI to pydantic/ai-chat-ui 1.2.0#5246
Conversation
| ) from _import_error | ||
|
|
||
| CHAT_UI_VERSION = '1.0.0' | ||
| CHAT_UI_VERSION = '1.2.0' |
There was a problem hiding this comment.
🔴 Version requirement bump violates mandatory UI adapter backwards compatibility policy
The pydantic_ai_slim/pydantic_ai/ui/AGENTS.md rule file explicitly states "version requirement bumps are disallowed" for UI adapters. This PR bumps CHAT_UI_VERSION from '1.0.0' to '1.2.0', which directly changes the CDN URL used to fetch the @pydantic/ai-chat-ui npm package (pydantic_ai_slim/pydantic_ai/ui/_web/app.py:29). Per the policy, new functionality from v1.2.0 should instead be gated behind version checks, and the base version requirement should remain at 1.0.0.
Was this helpful? React with 👍 or 👎 to provide feedback.
There was a problem hiding this comment.
This is not the same thing.
|
@johnthagen Derp, thank you. Can you please update the failing test as well please? |
@DouweM Done. |
pydantic/ai-chat-ui 1.2.0
I noticed that the CDN version listed in the web chat UI for
@pydantic/ai-chat-uiis a few months out of dateChecklist