Skip to content

v0.9.0 ollama

Latest
Compare
Choose a tag to compare
@ShinChven ShinChven released this 28 Sep 13:50
· 3 commits to main since this release

Changelog

[Version 0.9.0] - 2024-09-29

This release introduces significant enhancements to the Git-GPT CLI tool, expanding its capabilities to support Ollama alongside OpenAI's API. Users can now choose between two APIs for generating commit messages, issues, and performing quality checks.

Added

  • Support for Ollama, an open-source, locally hosted language model.
  • New request_module.py for handling API requests to both OpenAI and Ollama.
  • Configuration options for specifying the API type and Ollama base URL.
  • New command options in configuration and usage commands to accommodate Ollama integration.

Changed

  • Updated README.md to reflect the support for Ollama.
  • Enhanced the configuration command to allow setting the API type and Ollama base URL.
  • Modified existing commands to use the new request module for sending requests to the configured API.
  • The default model setting is now retrieved from the configuration instead of being hardcoded.

Deprecated

  • The previous hardcoded API interactions with OpenAI are now deprecated in favor of the new request handling module.

Fixed

  • Improved error handling in API requests, providing clearer messages when issues occur.
  • Ensured consistency in the handling of default values for model and language across various commands.

Security

  • Addressed potential vulnerabilities related to API key management by masking the key in configuration outputs.