File tree Expand file tree Collapse file tree 4 files changed +11
-43
lines changed
Expand file tree Collapse file tree 4 files changed +11
-43
lines changed Original file line number Diff line number Diff line change @@ -84,17 +84,17 @@ export function getSearchSystemPrompt(
8484 gitChangesPrompt ,
8585 ] ) . join ( '\n\n' )
8686
87- logger . debug (
88- {
89- fileTreeTokens,
90- fileTreeTokenBudget,
91- systemInfoTokens,
92- systemPromptTokens : countTokensJson ( systemPrompt ) ,
93- messagesTokens,
94- duration : Date . now ( ) - startTime ,
95- } ,
96- 'search system prompt tokens' ,
97- )
87+ // logger.debug(
88+ // {
89+ // fileTreeTokens,
90+ // fileTreeTokenBudget,
91+ // systemInfoTokens,
92+ // systemPromptTokens: countTokensJson(systemPrompt),
93+ // messagesTokens,
94+ // duration: Date.now() - startTime,
95+ // },
96+ // 'search system prompt tokens',
97+ // )
9898
9999 return systemPrompt
100100}
Original file line number Diff line number Diff line change @@ -118,17 +118,6 @@ export const handleFindFiles = ((params: {
118118 } )
119119 }
120120
121- logger . debug (
122- {
123- content : prompt ,
124- prompt,
125- addedFilesPaths : addedFiles . map ( ( f ) => f . path ) ,
126- updatedFilePaths,
127- printedPaths,
128- } ,
129- 'find_files tool call' ,
130- )
131-
132121 if ( addedFiles . length > 0 ) {
133122 return renderReadFilesResult ( addedFiles , fileContext . tokenCallers ?? { } )
134123 }
Original file line number Diff line number Diff line change 11import { getFileReadingUpdates } from '../../../get-file-reading-updates'
2- import { logger } from '../../../util/logger'
32import { renderReadFilesResult } from '../../../util/parse-tool-call-xml'
43
54import type { CodebuffToolHandlerFunction } from '../handler-function-type'
@@ -72,16 +71,6 @@ export const handleReadFiles = ((params: {
7271 } ,
7372 )
7473
75- logger . debug (
76- {
77- content : paths ,
78- paths,
79- addedFilesPaths : addedFiles . map ( ( f ) => f . path ) ,
80- updatedFilePaths,
81- } ,
82- 'read_files tool call' ,
83- )
84-
8574 return renderReadFilesResult ( addedFiles , fileContext . tokenCallers ?? { } )
8675 } ) ( )
8776
Original file line number Diff line number Diff line change @@ -65,16 +65,6 @@ export const handleSetOutput = ((params: {
6565 // Set the output (completely replaces previous output)
6666 agentState . output = output
6767
68- logger . debug (
69- {
70- output,
71- agentType : agentState . agentType ,
72- agentId : agentState . agentId ,
73- updatedOutput : agentState . output ,
74- } ,
75- 'set_output tool call completed' ,
76- )
77-
7868 return 'Output set'
7969 }
8070
You can’t perform that action at this time.
0 commit comments