Changelog
[Version 0.10.0] - 2024-12-29
This release of Git-GPT introduces significant enhancements and new functionalities, expanding its capabilities to support a wider range of AI providers and improving configuration management for user convenience.
Added
- Introduced support for multiple AI providers, including OpenAI, Azure OpenAI, Ollama, Claude (Anthropic), and Google Generative AI, allowing users to select the most suitable model for their needs.
- Added a new module
ai_client.py
to handle API requests to different AI providers. - Implemented a more interactive
git-gpt config
command with prompt-based configuration setup, allowing users to specify or update model configurations easily. - Added new commands:
git-gpt set-default
: Set a default model configuration for simplified usage.git-gpt delete-model
: Easily delete a specific model configuration.git-gpt show-models
: Display all configured models along with their providers.
- Integrated the
prompt_toolkit
library to enhance user interaction in command-line prompts.
Changed
- Refactored the internal architecture to remove the
request_module.py
and replace it withai_client.py
for better maintainability and expanded functionality. - Updated configuration handling to store multiple model configurations, allowing users to switch between models as needed.
- Revised error messaging to offer more specific guidance based on the new configuration model.
Removed
- Removed
request_module.py
to unify and improve the management of API requests throughai_client.py
.
Fixed
- Improved error handling and messaging for configuration-related operations, including guidance for setting or modifying API keys and model configurations.
Security
- Enhanced security by masking API keys in configuration displays to protect sensitive information during configuration management.