mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-24 12:04:56 -07:00
List tools in a consistent order. (#12615)
This commit is contained in:
committed by
GitHub
parent
44b8c62db9
commit
9787108532
@@ -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