nit: Small improvements to logging (#624)

This commit is contained in:
Brace Sproul 2025-07-31 10:15:41 -07:00 • committed by GitHub
parent fa54687960
commit 7e9733a156
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -320,7 +320,7 @@ export async function generateAction(
response.tool_calls.some((t) => t.name === markTaskCompletedTool.name)
) {
logger.error(
"Multiple tool calls found, including mark_task_completed. Removing the mark_task_completed call.",
`Multiple tool calls found, including ${markTaskCompletedTool.name}. Removing the ${markTaskCompletedTool.name} call.`,
{
toolCalls: JSON.stringify(response.tool_calls, null, 2),
},