refactor: Introduce dedicated browser agent configuration with session mode, headless, profile path, and visual model settings.

This commit is contained in:
Gaurav Ghosh
2026-02-23 11:52:00 -08:00
parent 52d9271e63
commit 64853dbfde
13 changed files with 179 additions and 77 deletions
+4 -1
View File
@@ -149,6 +149,9 @@ describe('GeminiCliAgent Integration', () => {
throw new Error('Dynamic instruction failure');
},
model: 'gemini-2.0-flash',
fakeResponses: RECORD_MODE
? undefined
: getGoldenPath('agent-dynamic-instructions'),
});
const session = agent.session();
@@ -159,5 +162,5 @@ describe('GeminiCliAgent Integration', () => {
// Just consume the stream
}
}).rejects.toThrow('Dynamic instruction failure');
});
}, 30000);
});