mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 22:21:22 -07:00
Fix prompt to make it a bit more deterministic (#10848)
This commit is contained in:
@@ -197,13 +197,14 @@ describe('run_shell_command', () => {
|
||||
).toBeTruthy();
|
||||
});
|
||||
|
||||
//TODO - https://github.com/google-gemini/gemini-cli/issues/10737
|
||||
it.skip('should combine multiple --allowed-tools flags', async () => {
|
||||
it('should combine multiple --allowed-tools flags', async () => {
|
||||
const rig = new TestRig();
|
||||
await rig.setup('should combine multiple --allowed-tools flags');
|
||||
|
||||
const { tool } = getLineCountCommand();
|
||||
const prompt = `use ${tool} and ls`;
|
||||
const prompt =
|
||||
`use both ${tool} and ls to count the number of lines in ` +
|
||||
`files in this directory`;
|
||||
|
||||
const result = await rig.run({
|
||||
stdin: prompt,
|
||||
|
||||
Reference in New Issue
Block a user