Skip to content

Support overwriting model via environmentΒ #35

@rti

Description

@rti

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions