Comments (5)
Same for me even with OCO_MODEL set to mistral
❯ OCO_AI_PROVIDER="ollama" OCO_MODEL=mistral opencommit
┌ open-commit
│
◇ 2 staged files:
.zshrc
Makefile
│
◇ 📝 Commit message generated
│
└ ✖ local model issues. details: connect ECONNREFUSED ::1:11434
from opencommit.
@jaroslaw-weber hi man, could you take a look please?
from opencommit.
@jagadish-k could you try with other OCO_MODEL
config? now it's set to gpt-3.5-turbo-16k
which is not mistral
from opencommit.
Hi there, I am also getting this same error. I think the doc should add some more details on setting an ollama model with open-commit
I have this bare minimum config & ollama is running fine on port 11434 on localhost
OCO_AI_PROVIDER='ollama'
OCO_DESCRIPTION=false
OCO_EMOJI=false
from opencommit.
Guys I have found a fix for this. You see the oco
is requesting the ollama API on ipv6 loopback which is ::1
and by default ollama doest not listen on ipv6 address.
So to fix the issue you can run ollama on ipv6 too or in my case I have configured ollama to listen on all interfaces by setting the OLLAMA_HOST='0.0.0.0
env variable.
@di-sukharev I can enhance the documentation on this by adding guide for setting up this if you like so I will submit a PR.
I hope this will help thanks
from opencommit.
Related Issues (20)
- [Feature]: Support Custom API Key Formats and Server Addresses HOT 6
- [Feature]: Add '--yes' or '-y' option to automatically accept AI generated commit messages HOT 3
- Proposal for Expanding Maintenance Team HOT 17
- [Feature]: Custom Commit Messages with OpenAI Enhancement (-m Flag) HOT 3
- [Feature]: minimalistic output HOT 3
- Is this project alive? HOT 2
- [Bug]: Ollama documentation is incorrect
- [Bug]: ollama output erroneously considers sample data HOT 2
- [Feature]: Make ollama hostname configurable HOT 1
- [Feature]: Use different file type instead .env for local configuration HOT 1
- [Feature]: Perplexity Support HOT 5
- [Feature]: Add Gemini Support HOT 1
- [Bug]: Local Ollama with OpenCommit not working when internet is blocked HOT 5
- [Feature]: Claude 3 Support HOT 3
- [Bug]: Unsupported config key `OCO_MODEL` error when using `oco` command HOT 13
- [Bug]: Setting `OCO_ONE_LINE_COMMIT=true` generates a multi-line message HOT 1
- [Bug]: Request failed with status code 404 HOT 1
- [Feature]: add oco at Docker hub HOT 1
- [Bug]: ✖ Unsupported config key OCO_OPENAI_API_KEY: Must be 51 characters long
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencommit.