mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
Better than using SecretStr | None so we centralize the null handling. Signed-off-by: Sébastien Han <seb@redhat.com>
25 lines
734 B
Text
25 lines
734 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 |
|
|
|-------|------|----------|---------|-------------|
|
|
| `url` | `<class 'str'>` | No | | The URL for the passthrough endpoint |
|
|
| `api_key` | `<class 'pydantic.types.SecretStr'>` | No | | API Key for the passthrouth endpoint |
|
|
|
|
## Sample Configuration
|
|
|
|
```yaml
|
|
url: ${env.PASSTHROUGH_URL}
|
|
api_key: ${env.PASSTHROUGH_API_KEY}
|
|
```
|