mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-27 13:34:15 -07:00
Fix style
This commit is contained in:
@@ -442,7 +442,7 @@ describe('createContentGenerator', () => {
|
||||
}),
|
||||
},
|
||||
});
|
||||
// Explicitly assert that apiVersion is NOT present when env var is empty string
|
||||
|
||||
expect(GoogleGenAI).toHaveBeenCalledWith(
|
||||
expect.not.objectContaining({
|
||||
apiVersion: expect.any(String),
|
||||
|
||||
@@ -180,7 +180,7 @@ export async function createContentGenerator(
|
||||
apiKey: config.apiKey === '' ? undefined : config.apiKey,
|
||||
vertexai: config.vertexai,
|
||||
httpOptions,
|
||||
...(apiVersionEnv && { apiVersion: apiVersionEnv }),
|
||||
...(apiVersionEnv && { apiVersion: apiVersionEnv }),
|
||||
});
|
||||
return new LoggingContentGenerator(googleGenAI.models, gcConfig);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user