Skip to content

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

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

fix(ai): validate models server-side and fix reasoning detection#1444
dancer merged 1 commit intomainfrom
fix/validate-models-server-side-main

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:57pm

Request Review

@vercel vercel bot temporarily deployed to Preview – v0-v0-ai-chatbot March 3, 2026 15:57 Inactive
@dancer dancer merged commit a047187 into main Mar 3, 2026
3 of 10 checks passed
@dancer dancer deleted the fix/validate-models-server-side-main branch March 3, 2026 15:57
@vercel vercel bot temporarily deployed to Preview – v0-vercel-ai-chatbot March 3, 2026 15:57 Inactive
@vercel vercel bot temporarily deployed to Preview – v0-ai-chatbot-1824 March 3, 2026 15:57 Inactive
@vercel vercel bot temporarily deployed to Preview – v0-ai-chatbot-6556 March 3, 2026 15:58 Inactive
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