MCPcopy Create free account
hub / github.com/braintrustdata/bash-agent-evals / StreamCallbacks

Interface StreamCallbacks

src/agents/bash-agent.ts:156–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156export interface StreamCallbacks {
157 onText?: (text: string) => void;
158 onToolCall?: (toolName: string, args: Record<string, unknown>) => void;
159 onToolResult?: (toolName: string, result: string) => void;
160 onProgress?: (update: { toolCalls: number; tokens: number }) => void;
161}
162
163export async function runBashAgent(
164 question: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected