MCPcopy
hub / github.com/CodebuffAI/codebuff / isFreebuffRootAgent

Function isFreebuffRootAgent

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

Source from the content-addressed store, hash-verified

143}
144
145export function isFreebuffRootAgent(fullAgentId: string): boolean {
146 const { publisherId, agentId } = parseAgentId(fullAgentId)
147 if (!agentId) return false
148 if (publisherId && publisherId !== 'codebuff') return false
149 return FREEBUFF_ROOT_AGENT_ID_SET.has(agentId)
150}
151
152export function isFreebuffGeminiThinkerAgent(fullAgentId: string): boolean {
153 const { publisherId, agentId } = parseAgentId(fullAgentId)

Callers 1

postChatCompletionsFunction · 0.90

Calls 1

parseAgentIdFunction · 0.90

Tested by

no test coverage detected