mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-05 18:52:13 +00:00
nit: Small improvements to logging (#624)
This commit is contained in:
parent
fa54687960
commit
7e9733a156
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ export async function generateAction(
|
||||||
response.tool_calls.some((t) => t.name === markTaskCompletedTool.name)
|
response.tool_calls.some((t) => t.name === markTaskCompletedTool.name)
|
||||||
) {
|
) {
|
||||||
logger.error(
|
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),
|
toolCalls: JSON.stringify(response.tool_calls, null, 2),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue