mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-22 02:54:31 -07:00
feat(core): centralize read_file limits and update gemini-3 description (#20619)
This commit is contained in:
@@ -588,5 +588,13 @@ describe('ReadFileTool', () => {
|
||||
expect(schema.name).toBe(ReadFileTool.Name);
|
||||
expect(schema.description).toMatchSnapshot();
|
||||
});
|
||||
|
||||
it('should return the Gemini 3 schema when a Gemini 3 modelId is provided', () => {
|
||||
const modelId = 'gemini-3-pro-preview';
|
||||
const schema = tool.getSchema(modelId);
|
||||
expect(schema.name).toBe(ReadFileTool.Name);
|
||||
expect(schema.description).toMatchSnapshot();
|
||||
expect(schema.description).toContain('surgical reads');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user