llama-stack-mirror/llama_stack/providers/remote/inference/ollama
Nathan Weinberg 0e5574cf9d feat: allow ollama to use 'latest' if available but not specified
ollama's CLI supports running models via commands such as 'ollama run llama3.2'
this syntax does not work with the INFERENCE_MODEL llamastack var as currently
specifying a tag such as 'latest' is required

this commit will check to see if the 'latest' model is available and use that
model if a user passes a model name without a tag but the 'latest' is available
in ollama

Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
2025-04-10 20:12:09 -04:00
..
__init__.py Auto-generate distro yamls + docs (#468) 2024-11-18 14:57:06 -08:00
config.py Remove os.getenv() from ollama config 2025-02-20 14:30:32 -08:00
models.py refactor: move all llama code to models/llama out of meta reference (#1887) 2025-04-07 15:03:58 -07:00
ollama.py feat: allow ollama to use 'latest' if available but not specified 2025-04-10 20:12:09 -04:00