(agentFn: (q: string, cb: undefined, model: ModelId) => Promise<{ answer: string }>)
| 128 | // Legacy: Helper to create task with model (direct call, no worker) |
| 129 | export const createTask = |
| 130 | (agentFn: (q: string, cb: undefined, model: ModelId) => Promise<{ answer: string }>) => |
| 131 | async (input: string) => |
| 132 | (await agentFn(input, undefined, model)).answer; |
| 133 | |
| 134 | // Shared eval configuration |
| 135 | export const MAX_CONCURRENCY = 5; |
nothing calls this directly
no outgoing calls
no test coverage detected