mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 08:38:30 +00:00
* feat: enhance GeminiCompletion class with client parameter support - Added support for client_params in the GeminiCompletion class to allow for additional client configuration. - Refactored client initialization into a dedicated method for improved parameter handling. - Introduced a new method to retrieve client parameters, ensuring compatibility with the base class. - Enhanced error handling during client initialization to provide clearer messages for missing configuration. - Updated documentation to reflect the changes in client parameter usage. * add optional dependancies * refactor: update test fixture to mock GOOGLE_API_KEY - Renamed the fixture from `mock_anthropic_api_key` to `mock_google_api_key` to reflect the change in the environment variable being mocked. - This update ensures that all tests in the module can run with a mocked GOOGLE_API_KEY, improving test isolation and reliability. * fix tests
2.7 KiB
2.7 KiB