mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-27 14:38:49 +00:00
25 lines
604 B
Markdown
25 lines
604 B
Markdown
---
|
|
orphan: true
|
|
---
|
|
|
|
# remote::ollama
|
|
|
|
## Description
|
|
|
|
Ollama inference provider for running local models through the Ollama runtime.
|
|
|
|
## Configuration
|
|
|
|
| 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
|
|
|
|
```yaml
|
|
url: ${env.OLLAMA_URL:=http://localhost:11434}
|
|
|
|
```
|
|
|