Skip to content

fix(ai): validate models server-side and fix reasoning detection#1443

Merged
dancer merged 1 commit intodemofrom
fix/validate-models-server-side
Mar 3, 2026
Merged

fix(ai): validate models server-side and fix reasoning detection#1443
dancer merged 1 commit intodemofrom
fix/validate-models-server-side

Conversation

@dancer
Copy link
Collaborator

@dancer dancer commented Mar 3, 2026

summary

  • validate selectedChatModel against allowlist before processing requests
  • fix non-reasoning model IDs falsely matching as reasoning models
  • only send reasoning parts to client for actual reasoning models
  • hide empty reasoning UI for non-reasoning models
  • update gpt-5.2 to gpt-5-mini

@vercel
Copy link
Contributor

vercel bot commented Mar 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
v0-v0-ai-chatbot Building Building Preview, Open in v0 Mar 3, 2026 3:55pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant