(config: GeminiClientConfig)
| 10 | * Creates a Google Generative AI client instance |
| 11 | */ |
| 12 | export function createGeminiClient(config: GeminiClientConfig): GoogleGenAI { |
| 13 | return new GoogleGenAI({ |
| 14 | ...config, |
| 15 | apiKey: config.apiKey, |
| 16 | }) |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * Gets Google API key from environment variables |
no outgoing calls
no test coverage detected