Open
Description
Describe the bug
Trying to use ollama but failed with Error: No tokenizer found for model
, tried to change the model but still same error.
To Reproduce
[openai]
api_base = "http://127.0.0.1:11434/v1"
api_key = ""
model = "llama3.1:latest"
retries = 2
proxy = ""
- Run ollama server locally
- Exec
ollama run llama3.1:latest
- Try some talk to Confirm that ollama is running without issue
- Edit
~/.config/gptcommit/config.toml
and add above config git add
something and Executegit commit
- See error
Expected behavior
Works correctly and without error
Screenshots
If applicable, add screenshots to help explain your problem.
Run your command with the RUST_LOG=trace
environment variable for the best support
System Info (please complete the following information):
- OS: linux (NixOS unstable)
- Version: gptcommit v0.5.16