(fullAgentId: string)
| 150 | } |
| 151 | |
| 152 | export function isFreebuffGeminiThinkerAgent(fullAgentId: string): boolean { |
| 153 | const { publisherId, agentId } = parseAgentId(fullAgentId) |
| 154 | if (!agentId) return false |
| 155 | if (publisherId && publisherId !== 'codebuff') return false |
| 156 | return agentId === FREEBUFF_GEMINI_THINKER_AGENT_ID |
| 157 | } |
| 158 | |
| 159 | export function shouldUseLocalTokenCountForFreebuffDeepseekFlash(params: { |
| 160 | agentId: string | undefined |
no test coverage detected