feat(core): centralize read_file limits and update gemini-3 description (#20619)

This commit is contained in:
Aishanee Shah
2026-03-02 15:11:58 -05:00
committed by GitHub
parent 446a4316c4
commit 659301ff83
6 changed files with 30 additions and 10 deletions
@@ -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');
});
});
});