Closed ming1in closed 3 months ago
Enable supporting Anthropic llm models
Check out the wiki in anthropic.md to setup your anthropic account and obtain an APi key
anthropic.md
Install the new dependencies
pip install -r requirements-dev.txt
Manually add the following to /.git/.ai_commit_msg_config.json to tell the tool to use ollama models
/.git/.ai_commit_msg_config.json
{ "config": { .... "model": "claude-3-sonnet-20240229", "anthropic_api_key": "", } }
Ensure that the CLI works as expected
> git_ai_commit
Ensure that the git hook continues to work
git add . git commit
anthropic_api_key
Description
Enable supporting Anthropic llm models
Test Plan
Check out the wiki in
anthropic.md
to setup your anthropic account and obtain an APi keyInstall the new dependencies
Manually add the following to
/.git/.ai_commit_msg_config.json
to tell the tool to use ollama modelsEnsure that the CLI works as expected
Ensure that the git hook continues to work
Follow ups
anthropic_api_key
config