Skip to content

Conversation

@olasunkanmi-SE
Copy link
Owner

feat(gemini): Integrate tool selection and execution

This commit introduces the following changes:

  • Updates the IToolConfig interface to align with expected tool behavior.
  • Adds database connection functionality to extension activation.
  • Implements tool retrieval for Gemini and enables tool execution during content generation.
  • Initializes the CodeBuddyToolProvider and ContextRetriever during Gemini LLM instantiation.
  • Modifies tool base class to support configuration.
  • Introduces a vector database search tool and factory.
  • Adds a tool provider and factory to register tools.
  • Adds database search tool and functionality.
  • Adds tool execution capability to the Gemini model.

Olasunkanmi Oyinlola added 2 commits February 9, 2025 11:28
This commit introduces the following changes:

- Updates the IToolConfig interface to align with expected tool behavior.
- Adds database connection functionality to extension activation.
- Implements tool retrieval for Gemini and enables tool execution during content generation.
- Initializes the CodeBuddyToolProvider and ContextRetriever during Gemini LLM instantiation.
- Modifies tool base class to support configuration.
- Introduces a vector database search tool and factory.
- Adds a tool provider and factory to register tools.
- Adds database search tool and functionality.
- Adds tool execution capability to the Gemini model.
- Refactors the getInstances method in ToolFactory to use Array.from(this.tools.values()) for cleaner code and better readability.
@olasunkanmi-SE olasunkanmi-SE merged commit cf092a5 into development Feb 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants