(costMode: CostMode | string | undefined)
| 139 | * In FREE mode, agents using allowed models cost 0 credits. |
| 140 | */ |
| 141 | export function isFreeMode(costMode: CostMode | string | undefined): boolean { |
| 142 | return costMode === FREE_COST_MODE |
| 143 | } |
| 144 | |
| 145 | export function isFreebuffRootAgent(fullAgentId: string): boolean { |
| 146 | const { publisherId, agentId } = parseAgentId(fullAgentId) |
no outgoing calls
no test coverage detected