Skip to content

Commit c9c01c1

Browse files
ouiliameclaude
andcommitted
docs: default Ask AI to gpt-5.4-mini
Better grounding/instruction-following than gpt-4o-mini at docs-chat volumes; still overridable via OPENAI_CHAT_MODEL. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d62e861 commit c9c01c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/docs/app/api/chat/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const runtime = 'nodejs'
99
export const maxDuration = 30
1010

1111
/** Model used for the Ask AI chat. Override with OPENAI_CHAT_MODEL in the environment. */
12-
const CHAT_MODEL = process.env.OPENAI_CHAT_MODEL || 'gpt-4o-mini'
12+
const CHAT_MODEL = process.env.OPENAI_CHAT_MODEL || 'gpt-5.4-mini'
1313

1414
/** Max documentation chunks returned per search to ground an answer. */
1515
const SEARCH_LIMIT = 6

0 commit comments

Comments
 (0)