MOPC-App/prisma/migrations/20260203000000_add_ai_usage...
Matt 3986da172f
Build and Push Docker Image / build (push) Successful in 8m50s Details
Fix GPT-5 API compatibility and add AIUsageLog migration
- Add AIUsageLog table migration for token tracking
- Fix GPT-5 temperature parameter (not supported, like o-series)
- Add usesNewTokenParam() and supportsTemperature() functions
- Add GPT-5+ category to model selection UI
- Update model sorting to show GPT-5+ first

GPT-5 and newer models use max_completion_tokens and don't support
custom temperature values, similar to reasoning models.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 15:04:16 +01:00
..
migration.sql Fix GPT-5 API compatibility and add AIUsageLog migration 2026-02-03 15:04:16 +01:00