Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/core/assistant-message/NativeToolCallParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -756,8 +756,11 @@ export class NativeToolCallParser {

return result
} catch (error) {
console.error(`Failed to parse tool call arguments:`, error)
console.error(`Error details:`, error instanceof Error ? error.message : String(error))
console.error(
`Failed to parse tool call arguments: ${error instanceof Error ? error.message : String(error)}`,
)

console.error(`Tool call: ${JSON.stringify(toolCall, null, 2)}`)
return null
}
}
Expand Down
Loading