mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-16 13:00:39 -07:00
List tools in a consistent order. (#12615)
This commit is contained in:
committed by
GitHub
parent
d2dbb34ac2
commit
9ab24d397c
@@ -128,6 +128,7 @@ export class AgentExecutor<TOutput extends z.ZodTypeAny> {
|
||||
// registered; their schemas are passed directly to the model later.
|
||||
}
|
||||
|
||||
agentToolRegistry.sortTools();
|
||||
// Validate that all registered tools are safe for non-interactive
|
||||
// execution.
|
||||
await AgentExecutor.validateTools(agentToolRegistry, definition.name);
|
||||
|
||||
Reference in New Issue
Block a user