Serialize function calls that mutate state (#8513)

This commit is contained in:
Tommaso Sciortino
2025-09-17 11:45:04 -07:00
committed by GitHub
parent efb57e1cef
commit e76dda37ad
4 changed files with 331 additions and 8 deletions
+1
View File
@@ -167,6 +167,7 @@ Signal: Signal number or \`(none)\` if no signal was received.
}
export class ToolRegistry {
// The tools keyed by tool name as seen by the LLM.
private tools: Map<string, AnyDeclarativeTool> = new Map();
private config: Config;
private mcpClientManager: McpClientManager;