Go to file
Matt e01d741f01
Build and Push Docker Image / build (push) Successful in 9m36s Details
Fix GPT-5 nano empty response issue with token limits
GPT-5 nano (and other GPT-5 models) use reasoning that consumes
the output token budget. When max_tokens is too low, all tokens
get used by internal reasoning, leaving nothing for the response.

- Add needsHigherTokenLimit() to detect models needing more tokens
- Add getMinTokenLimit() to ensure minimum 16k tokens for GPT-5
- Update buildCompletionParams to apply minimum token limits
- This fixes the No response from AI error with gpt-5-nano

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 15:02:22 +01:00
.gitea/workflows Fix CI: hardcode Gitea registry URL 2026-01-30 13:45:07 +01:00
docker Fix health check: use node instead of wget (not available in Alpine image) 2026-02-02 17:35:52 +01:00
docs Fix GPT-5 API compatibility and add AIUsageLog migration 2026-02-03 15:04:16 +01:00
images Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
prisma Fix AI suggestions not displaying after job completion 2026-02-05 14:38:43 +01:00
public Display filtering controls inline for FILTERING round type 2026-02-03 10:33:34 +01:00
scripts Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
src Fix GPT-5 nano empty response issue with token limits 2026-02-05 15:02:22 +01:00
.dockerignore Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
.env.example Add email password change feature and fix nginx config 2026-01-30 16:15:08 +01:00
.gitignore Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
CLAUDE.md Fix: sync package-lock.json and update CLAUDE.md dev notes 2026-01-30 13:47:00 +01:00
DEPLOYMENT.md Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
Notes.md Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
components.json Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
next.config.ts Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
package-lock.json Remove dynamic form builder and complete RoundProject→roundId migration 2026-02-04 14:15:06 +01:00
package.json Remove dynamic form builder and complete RoundProject→roundId migration 2026-02-04 14:15:06 +01:00
postcss.config.mjs Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
tailwind.config.ts Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00
tsconfig.json Initial commit: MOPC platform with Docker deployment setup 2026-01-30 13:41:32 +01:00