mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 21:03:05 -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();
|
).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
//TODO - https://github.com/google-gemini/gemini-cli/issues/10737
|
it('should combine multiple --allowed-tools flags', async () => {
|
||||||
it.skip('should combine multiple --allowed-tools flags', async () => {
|
|
||||||
const rig = new TestRig();
|
const rig = new TestRig();
|
||||||
await rig.setup('should combine multiple --allowed-tools flags');
|
await rig.setup('should combine multiple --allowed-tools flags');
|
||||||
|
|
||||||
const { tool } = getLineCountCommand();
|
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({
|
const result = await rig.run({
|
||||||
stdin: prompt,
|
stdin: prompt,
|
||||||
|
|||||||
Reference in New Issue
Block a user