the-cafe / git-ai-commit

let AI write your commit messages
https://pypi.org/project/git-ai-commit/
51 stars 0 forks source link

added default model selections for each provider #52

Closed Seif-Mamdouh closed 3 months ago

Seif-Mamdouh commented 3 months ago

Description

This PR introduces a default Model for each LLM Model:

Defaults Models are

  1. OpenAI: gpt-4o-mini
  2. Anthropic: claude-3-sonnet-20240229
  3. Ollama: ollama/llama3

Test Plan

 pip install . && pre-commit install && pre-commit autoupdate
gac config --setup

Expected output:

Default OpenAI Model (Demo)

https://github.com/user-attachments/assets/626ed36b-9880-4bf5-a4f7-a4bf97946914

Default Anthropic Model (Demo)

https://github.com/user-attachments/assets/61a6e70d-3874-42ac-a7f0-c9d28bf20970

Default Ollama Model (Demo)

https://github.com/user-attachments/assets/62ee0c34-908a-42db-9302-bd2afa2b025c