mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 20:44:46 -07:00
feat(core): implement model-driven parallel tool scheduler (#21933)
This commit is contained in:
@@ -103,9 +103,19 @@ describe('SubagentToolWrapper', () => {
|
||||
|
||||
expect(schema.name).toBe(mockDefinition.name);
|
||||
expect(schema.description).toBe(mockDefinition.description);
|
||||
expect(schema.parametersJsonSchema).toEqual(
|
||||
mockDefinition.inputConfig.inputSchema,
|
||||
);
|
||||
expect(schema.parametersJsonSchema).toEqual({
|
||||
...(mockDefinition.inputConfig.inputSchema as Record<string, unknown>),
|
||||
properties: {
|
||||
...((
|
||||
mockDefinition.inputConfig.inputSchema as Record<string, unknown>
|
||||
)['properties'] as Record<string, unknown>),
|
||||
wait_for_previous: {
|
||||
type: 'boolean',
|
||||
description:
|
||||
'Set to true to wait for all previously requested tools in this turn to complete before starting. Set to false (or omit) to run in parallel. Use true when this tool depends on the output of previous tools.',
|
||||
},
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user