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 @@ -16,7 +16,7 @@ import type { Logger } from '@codebuff/common/types/contracts/logger'
1616import type { ParamsExcluding } from '@codebuff/common/types/function-params'
1717import type { WebSocket } from 'ws'
1818
19- export const handleStrReplace = ( (
19+ export function handleStrReplace (
2020 params : {
2121 previousToolCallFinished : Promise < void >
2222 toolCall : CodebuffToolCall < 'str_replace' >
@@ -35,7 +35,7 @@ export const handleStrReplace = ((
3535) : {
3636 result : Promise < CodebuffToolOutput < 'str_replace' > >
3737 state : FileProcessingState
38- } => {
38+ } {
3939 const {
4040 previousToolCallFinished,
4141 toolCall,
@@ -103,4 +103,5 @@ export const handleStrReplace = ((
103103 } ) ,
104104 state : fileProcessingState ,
105105 }
106- } ) satisfies CodebuffToolHandlerFunction < 'str_replace' >
106+ }
107+ handleStrReplace satisfies CodebuffToolHandlerFunction < 'str_replace' >
You can’t perform that action at this time.
0 commit comments