File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ import {
1717import { MAX_AGENT_STEPS_DEFAULT } from '../../common/src/constants/agents'
1818import { API_KEY_ENV_VAR } from '../../common/src/old-constants'
1919import { toolNames } from '../../common/src/tools/constants'
20+ import type { PublishedClientToolName } from '../../common/src/tools/list'
2021import {
2122 clientToolCallSchema,
2223 type ClientToolCall,
2324 type ClientToolName,
2425 type CodebuffToolOutput,
25- PublishedClientToolName,
2626} from '../../common/src/tools/list'
2727
2828import type { CustomToolDefinition } from './custom-tool'
@@ -325,7 +325,7 @@ export class CodebuffClient {
325325 `Custom tool handler not found for user input ID ${action.userInputId}`,
326326 )
327327 }
328- return customToolHandler(action)
328+ return await customToolHandler(action)
329329 }
330330
331331 try {
You can’t perform that action at this time.
0 commit comments