Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Make ollama hostname configurable #303

Open
digitalstudium opened this issue Mar 7, 2024 · 1 comment
Open

[Feature]: Make ollama hostname configurable #303

digitalstudium opened this issue Mar 7, 2024 · 1 comment

Comments

@digitalstudium
Copy link
Contributor

digitalstudium commented Mar 7, 2024

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 digitalstudium changed the title [Feature]: Make ollama url configurable [Feature]: Make ollama hostname configurable Mar 7, 2024
@di-sukharev
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants