Restrict integration tests tools (#14403)

This commit is contained in:
Tommaso Sciortino
2025-12-02 17:43:06 -08:00
committed by GitHub
parent bdbbe9232d
commit 035bea3699
10 changed files with 63 additions and 19 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ import {
describe('write_file', () => {
it('should be able to write a file', async () => {
const rig = new TestRig();
await rig.setup('should be able to write a file');
await rig.setup('should be able to write a file', {
settings: { tools: { core: ['write_file', 'read_file'] } },
});
const prompt = `show me an example of using the write tool. put a dad joke in dad.txt`;
const result = await rig.run(prompt);