Skip to content

Commit 1006d65

Browse files
committed
fix: add tool logging
1 parent b94c524 commit 1006d65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/adapters/anthropic/helpers/completions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ export class Completions extends SuperAnthropic {
222222
const toolJson = toolBlock[1];
223223

224224
try {
225-
this.context.logger.info(`Processing tool request:` + toolJson);
225+
console.log(toolJson);
226+
this.context.logger.info(`Processing tool request: ${toolJson}`);
226227
const toolRequest: ToolRequest = JSON.parse(toolJson);
227228

228229
// For writeFile, ensure content is stringified if it's an object

0 commit comments

Comments
 (0)