Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/proper cli args handling #35

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

mbenapari
Copy link

  1. Unified Prompt Handling for Ollama and GPT: Updated the commit message prompt for Ollama to align with the GPT model, ensuring consistency across both platforms.
  2. Enhanced CLI Flag Handling: Improved how CLI flags are processed to provide a smoother user experience.
  3. Provider Specification for OpenAI: Users can now specify the OpenAI provider by passing the --PROVIDER=openai flag.
  4. Flexible Model Selection for Ollama: When using Ollama, users should specify the model by passing --PROVIDER=ollama --MODEL=llama3.1 (or another desired model).

…when refining the commit message for a subsequent commit.
…ges by removing references to the conventional commits specification and clarifying the use of present tense in the prompts.
…sage:

When prompted to provide a final commit message, the function now simply returns the initial response from Ollama.
@insulineru
Copy link
Owner

@HamduSalih is it ready for review?

@mbenapari
Copy link
Author

@insulineru yes please

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.

3 participants