mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-23 20:13:58 +00:00
ollama: periodically refresh models
This commit is contained in:
parent
9e3ae50306
commit
a2f460871b
5 changed files with 121 additions and 9 deletions
|
|
@ -9,6 +9,8 @@ Ollama inference provider for running local models through the Ollama runtime.
|
|||
| Field | Type | Required | Default | Description |
|
||||
|-------|------|----------|---------|-------------|
|
||||
| `url` | `<class 'str'>` | No | http://localhost:11434 | |
|
||||
| `refresh_models` | `<class 'bool'>` | No | False | refresh and re-register models periodically |
|
||||
| `refresh_models_interval` | `<class 'int'>` | No | 300 | interval in seconds to refresh models |
|
||||
|
||||
## Sample Configuration
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue