opencommit icon indicating copy to clipboard operation
opencommit copied to clipboard

[Feature]: Make ollama hostname configurable

Open digitalstudium opened this issue 1 year ago • 1 comments
trafficstars

Description

Ollama can be deployed on remote server, so it would be nice to have an option to set Ollama hostname via environment variable

Suggested Solution

In this file: https://github.com/di-sukharev/opencommit/blob/master/src/engine/ollama.ts#L15 read ollama hostname from environment variable instead of hardcoded localhost

Alternatives

No response

Additional Context

No response

digitalstudium avatar Mar 07 '24 05:03 digitalstudium

hi @digitalstudium gonna try to get to it, but feel free to outrun me :)

di-sukharev avatar Mar 18 '24 04:03 di-sukharev