File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
backend/src/tools/handlers/tool Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export function getFileProcessingValues(
6363 return fileProcessingValues
6464}
6565
66- export const handleWriteFile = ( (
66+ export function handleWriteFile (
6767 params : {
6868 previousToolCallFinished : Promise < void >
6969 toolCall : CodebuffToolCall < 'write_file' >
@@ -103,7 +103,7 @@ export const handleWriteFile = ((
103103) : {
104104 result : Promise < CodebuffToolOutput < 'write_file' > >
105105 state : FileProcessingState
106- } => {
106+ } {
107107 const {
108108 previousToolCallFinished,
109109 toolCall,
@@ -201,7 +201,8 @@ export const handleWriteFile = ((
201201 } ) ( ) ,
202202 state : fileProcessingState ,
203203 }
204- } ) satisfies CodebuffToolHandlerFunction < 'write_file' >
204+ }
205+ handleWriteFile satisfies CodebuffToolHandlerFunction < 'write_file' >
205206
206207export async function postStreamProcessing < T extends FileProcessingTools > (
207208 toolCall : FileProcessing < T > ,
You can’t perform that action at this time.
0 commit comments