rti / gbnc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support overwriting model via environment

rti opened this issue · comments

commented

Terms

Description

We can set the model using the environment variable OLLAMA_MODEL_NAME already.
If we change the model string on docker run, the backend fails though, because the model was not pulled.

This ticket is about fixing this by pulling the model in start.sh too, not only in the Dockerfile.

This will also allow us to use small models by default on dev systems while using a different model in production.

Contribution

No response

commented

fixed in 69800b0

commented

part of #23