1- import { FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID } from '@codebuff/common/constants/freebuff-models'
1+ import { FREEBUFF_GPT_5_6_LUNA_MODEL_ID } from '@codebuff/common/constants/freebuff-models'
22
33import thinker from './thinker'
44
@@ -7,30 +7,21 @@ import type { SecretAgentDefinition } from '../types/secret-agent-definition'
77/**
88 * The freebuff.com/chat thinker child, spawned by base-chat.
99 *
10- * MOVED OFF GEMINI 3.1 PRO ON 2026-09-01. The Google credit grant that paid for
11- * it ran out, and at list price this one agent was ~$2,700/week — nine times
12- * the chat root models combined — because every spawn re-reads the whole
13- * conversation (~52k input tokens a call) at $2/M. DeepSeek V4 Flash at the
14- * same token volume is ~$70-85/week, runs on our own DeepSeek direct and
15- * Luminal lanes rather than Merge, and thinks natively.
10+ * Uses GPT-5.6 Luna with extra-high reasoning for Chat deliberation.
1611 *
1712 * The id stays `thinker-gemini`: chat/agent.ts registers it by import, the
1813 * hidden-agent list and FREEBUFF_GEMINI_PRO_AGENT_IDS name it, and base-chat's
1914 * prompt spawns it by name. Renaming buys nothing and touches all of them.
20- *
21- * Reasoning is declared explicitly rather than left to the catalog default
22- * (also `high`): the DeepSeek lane maps `reasoning` onto its `thinking` flag,
23- * and a thinker that does not think is just a slower copy of the root.
2415 */
2516const definition : SecretAgentDefinition = {
2617 ...thinker ,
2718 id : 'thinker-gemini' ,
2819 displayName : 'Thinker' ,
29- model : FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID ,
20+ model : FREEBUFF_GPT_5_6_LUNA_MODEL_ID ,
3021 providerOptions : undefined ,
3122 reasoningOptions : {
3223 enabled : true ,
33- effort : 'high ' ,
24+ effort : 'xhigh ' ,
3425 } ,
3526 outputSchema : undefined ,
3627 outputMode : 'last_message' ,
0 commit comments