Skip to content

Commit f48d871

Browse files
Sync public snapshot from freebuff-private
Source: CodebuffAI/freebuff-private@fa4b28d7fe2df4088cb31f95fe9ba5b4aba52d4c
1 parent 8aa08d7 commit f48d871

6 files changed

Lines changed: 64 additions & 69 deletions

File tree

agents/thinker/thinker-gemini.ts

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

33
import 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
*/
2516
const 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',

agents/types/agent-definition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface AgentDefinition {
4747
max_tokens: number
4848
}
4949
| {
50-
effort: 'high' | 'medium' | 'low' | 'minimal' | 'none'
50+
effort: 'max' | 'xhigh' | 'high' | 'medium' | 'low' | 'minimal' | 'none'
5151
}
5252
)
5353

0 commit comments

Comments
 (0)