@@ -2,6 +2,7 @@ import { parseAgentId } from '../util/agent-id-parsing'
22
33import { FREEBUFF_GEMINI_THINKER_AGENT_ID } from './freebuff-gemini-thinker'
44import {
5+ FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID ,
56 FREEBUFF_DEEPSEEK_V4_PRO_MODEL_ID ,
67 FREEBUFF_GEMINI_PRO_MODEL_ID ,
78 FREEBUFF_GLM_MODEL_ID ,
@@ -28,6 +29,7 @@ export const FREEBUFF_ROOT_AGENT_IDS = [
2829 'base2-free' ,
2930 'base2-free-kimi' ,
3031 'base2-free-deepseek' ,
32+ 'base2-free-deepseek-flash' ,
3133] as const
3234const FREEBUFF_ROOT_AGENT_ID_SET : ReadonlySet < string > = new Set (
3335 FREEBUFF_ROOT_AGENT_IDS ,
@@ -40,12 +42,14 @@ export const FREEBUFF_ROOT_AGENT_ID_BY_MODEL: Record<string, string> = {
4042 [ FREEBUFF_MINIMAX_MODEL_ID ] : 'base2-free' ,
4143 [ FREEBUFF_KIMI_MODEL_ID ] : 'base2-free-kimi' ,
4244 [ FREEBUFF_DEEPSEEK_V4_PRO_MODEL_ID ] : 'base2-free-deepseek' ,
45+ [ FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID ] : 'base2-free-deepseek-flash' ,
4346}
4447
4548export const FREEBUFF_REVIEWER_AGENT_ID_BY_MODEL : Record < string , string > = {
4649 [ FREEBUFF_MINIMAX_MODEL_ID ] : 'code-reviewer-minimax' ,
4750 [ FREEBUFF_KIMI_MODEL_ID ] : 'code-reviewer-kimi' ,
4851 [ FREEBUFF_DEEPSEEK_V4_PRO_MODEL_ID ] : 'code-reviewer-deepseek' ,
52+ [ FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID ] : 'code-reviewer-deepseek-flash' ,
4953}
5054
5155export function getFreebuffRootAgentIdForModel ( model : string ) : string {
@@ -66,10 +70,12 @@ export const FREE_MODE_AGENT_MODELS: Record<string, Set<string>> = {
6670 FREEBUFF_MINIMAX_MODEL_ID ,
6771 FREEBUFF_GLM_MODEL_ID ,
6872 FREEBUFF_DEEPSEEK_V4_PRO_MODEL_ID ,
73+ FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID ,
6974 FREEBUFF_KIMI_MODEL_ID ,
7075 ] ) ,
7176 'base2-free-kimi' : new Set ( [ FREEBUFF_KIMI_MODEL_ID ] ) ,
7277 'base2-free-deepseek' : new Set ( [ FREEBUFF_DEEPSEEK_V4_PRO_MODEL_ID ] ) ,
78+ 'base2-free-deepseek-flash' : new Set ( [ FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID ] ) ,
7379
7480 // File exploration agents
7581 'file-picker' : new Set ( [ 'google/gemini-2.5-flash-lite' ] ) ,
@@ -93,12 +99,16 @@ export const FREE_MODE_AGENT_MODELS: Record<string, Set<string>> = {
9399 ] ) ,
94100 'code-reviewer-kimi' : new Set ( [ FREEBUFF_KIMI_MODEL_ID ] ) ,
95101 'code-reviewer-deepseek' : new Set ( [ FREEBUFF_DEEPSEEK_V4_PRO_MODEL_ID ] ) ,
102+ 'code-reviewer-deepseek-flash' : new Set ( [
103+ FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID ,
104+ ] ) ,
96105 // Legacy freebuff clients spawned code-reviewer-lite under provider-specific
97106 // free roots before those reviewer IDs existed.
98107 'code-reviewer-lite' : new Set ( [
99108 FREEBUFF_MINIMAX_MODEL_ID ,
100109 FREEBUFF_KIMI_MODEL_ID ,
101110 FREEBUFF_DEEPSEEK_V4_PRO_MODEL_ID ,
111+ FREEBUFF_DEEPSEEK_V4_FLASH_MODEL_ID ,
102112 ] ) ,
103113
104114 // Legacy: kept for the standalone gemini thinker agent if invoked directly.
0 commit comments