Open gudlyf opened 6 months ago
3.0.11
21.6.2
10.2.4
Mac
When using ollama as the AI engine, it mistakenly considers the example git diff of server.ts in its output.
server.ts
Example:
Changed port variable case and added support for configurable port in server.ts
Often times, it is the ONLY change it displays. It also ignores formatting, emoji, etc.
(In addition, the mistral LLM is hard-coded for some reason, when it should be possible to try others)
mistral
Output should look like it does with using OpenAI and not consider the sample input git diff.
See "What happened."
OC_OLLAMA_MODEL
No response
will be releasing next version this weekend, lets see if this is healed, thank you @digitalstudium <3
done, 3.0.12 is out, please npm i -g opencommit
npm i -g opencommit
Opencommit Version
3.0.11
Node Version
21.6.2
NPM Version
10.2.4
What OS are you seeing the problem on?
Mac
What happened?
When using ollama as the AI engine, it mistakenly considers the example git diff of
server.ts
in its output.Example:
Often times, it is the ONLY change it displays. It also ignores formatting, emoji, etc.
(In addition, the
mistral
LLM is hard-coded for some reason, when it should be possible to try others)Expected Behavior
Output should look like it does with using OpenAI and not consider the sample input git diff.
Current Behavior
See "What happened."
Possible Solution
OC_OLLAMA_MODEL
variable rather than hard-codedmistral
LLM.Steps to Reproduce
No response
Relevant log output
No response