MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isFreebuffGeminiThinkerAgent

Function isFreebuffGeminiThinkerAgent

common/src/constants/free-agents.ts:152–157  ·  view source on GitHub ↗
(fullAgentId: string)

Source from the content-addressed store, hash-verified

150}
151
152export 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
159export function shouldUseLocalTokenCountForFreebuffDeepseekFlash(params: {
160 agentId: string | undefined

Callers 2

postChatCompletionsFunction · 0.90

Calls 1

parseAgentIdFunction · 0.90

Tested by

no test coverage detected