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:
2025-03-27 11:11:56 +00:00
parent 678f395649
commit 6b390a35f8
10 changed files with 979 additions and 567 deletions

9
.gitignore vendored
View File

@@ -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/