Skip to content

Commit 54effbb

Browse files
authored
fix: don't log tool args (#296)
1 parent c9582d8 commit 54effbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export abstract class ToolBase {
7171
const callback: ToolCallback<typeof this.argsShape> = async (...args) => {
7272
const startTime = Date.now();
7373
try {
74-
logger.debug(LogId.toolExecute, "tool", `Executing ${this.name} with args: ${JSON.stringify(args)}`);
74+
logger.debug(LogId.toolExecute, "tool", `Executing tool ${this.name}`);
7575

7676
const result = await this.execute(...args);
7777
await this.emitToolEvent(startTime, result, ...args).catch(() => {});

0 commit comments

Comments
 (0)