feat: Implement GoogleProvider for Google Generative AI integration
- Added GoogleProvider class to handle chat completions with Google Gemini API. - Implemented client initialization and response handling for streaming and non-streaming responses. - Created utility functions for tool conversion, response parsing, and content extraction. - Removed legacy tool conversion utilities from the tools module. - Enhanced logging for better traceability of API interactions and error handling.
This commit is contained in:
9
.gitignore
vendored
9
.gitignore
vendored
@@ -5,6 +5,7 @@ __pycache__/
|
||||
|
||||
# Virtual environment
|
||||
env/
|
||||
.venv/
|
||||
|
||||
# Configuration
|
||||
config/config.ini
|
||||
@@ -20,4 +21,10 @@ config/mcp_config.json
|
||||
# resources
|
||||
resources/
|
||||
|
||||
# __pycache__/
|
||||
# Ruff
|
||||
.ruff_cache/
|
||||
|
||||
# Distribution / packaging
|
||||
dist/
|
||||
build/
|
||||
*.egg-info/
|
||||
|
||||
Reference in New Issue
Block a user