ollama: periodically refresh models

This commit is contained in:
Ashwin Bharambe 2025-07-17 16:01:49 -07:00
parent 9e3ae50306
commit a2f460871b
5 changed files with 121 additions and 9 deletions

View file

@ -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