(
args: unknown,
output: string,
displayFields?: ToolCallDisplayFields,
)
| 230 | call: PreflightedToolCall, |
| 231 | ): Promise<PreparedToolCallTask> { |
| 232 | const settleError = async ( |
| 233 | args: unknown, |
| 234 | output: string, |
| 235 | displayFields?: ToolCallDisplayFields, |
| 236 | ): Promise<PreparedToolCallTask> => { |
| 237 | await dispatchToolCall(step, call, args, displayFields); |
| 238 | return { task: makeResolvedToolCallTask(makeErrorToolResult(call, args, output)) }; |
| 239 | }; |
| 240 | |
| 241 | const settleSynthetic = async ( |
| 242 | args: unknown, |
no test coverage detected