mirror of
https://github.com/voideditor/void
synced 2026-05-24 01:48:25 +00:00
clarify
This commit is contained in:
parent
d2d47175b5
commit
883a4663c9
2 changed files with 2 additions and 3 deletions
|
|
@ -638,8 +638,7 @@ class ChatThreadService extends Disposable implements IChatThreadService {
|
|||
|
||||
|
||||
|
||||
// TOOL_TODO!!!!!!!!! call the builtin versus the MCP tool here and stringify
|
||||
|
||||
// TOOL_TODO!!!!!!!!! call the builtin versus the MCP tool here (finish filling in the comment below and replace it out with the tool call and stringify functions further below)
|
||||
// const isBuiltInTool = (toolNames as string[]).includes(toolName)
|
||||
// const callToolFn = (toolName: string, toolParams: BuiltinToolCallParams[ToolName]) => {
|
||||
// if (isBuiltInTool) {
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ export interface IMCPService {
|
|||
|
||||
getCurrentMCPToolNames(): InternalToolInfo[];
|
||||
|
||||
// TOOL_TODO!!!! implement getMCPTools here, which gets merged with builtins in prompts
|
||||
// TOOL_TODO!!!! implement getMCPTools here, which gets merged with builtins in prompts.ts. Should generally be the same shape as voidTools in prompts.ts.
|
||||
|
||||
callMCPTool(toolData: MCPToolCallParams): Promise<{ result: MCPGenericToolResponse }>;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue