mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
27 lines
967 B
Text
27 lines
967 B
Text
---
|
|
description: "Passthrough inference provider for connecting to any external inference service not directly supported."
|
|
sidebar_label: Remote - Passthrough
|
|
title: remote::passthrough
|
|
---
|
|
|
|
# remote::passthrough
|
|
|
|
## Description
|
|
|
|
Passthrough inference provider for connecting to any external inference service not directly supported.
|
|
|
|
## Configuration
|
|
|
|
| Field | Type | Required | Default | Description |
|
|
|-------|------|----------|---------|-------------|
|
|
| `allowed_models` | `list[str] \| None` | No | | List of models that should be registered with the model registry. If None, all models are allowed. |
|
|
| `refresh_models` | `bool` | No | False | Whether to refresh models periodically from the provider |
|
|
| `api_key` | `SecretStr \| None` | No | | Authentication credential for the provider |
|
|
| `url` | `str` | No | | The URL for the passthrough endpoint |
|
|
|
|
## Sample Configuration
|
|
|
|
```yaml
|
|
url: ${env.PASSTHROUGH_URL}
|
|
api_key: ${env.PASSTHROUGH_API_KEY}
|
|
```
|