mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-03 19:57:35 +00:00
Better than using SecretStr | None so we centralize the null handling. Signed-off-by: Sébastien Han <seb@redhat.com>
23 lines
581 B
Text
23 lines
581 B
Text
---
|
|
description: "Anthropic inference provider for accessing Claude models and Anthropic's AI services."
|
|
sidebar_label: Remote - Anthropic
|
|
title: remote::anthropic
|
|
---
|
|
|
|
# remote::anthropic
|
|
|
|
## Description
|
|
|
|
Anthropic inference provider for accessing Claude models and Anthropic's AI services.
|
|
|
|
## Configuration
|
|
|
|
| Field | Type | Required | Default | Description |
|
|
|-------|------|----------|---------|-------------|
|
|
| `api_key` | `<class 'pydantic.types.SecretStr'>` | No | | API key for Anthropic models |
|
|
|
|
## Sample Configuration
|
|
|
|
```yaml
|
|
api_key: ${env.ANTHROPIC_API_KEY:=}
|
|
```
|