FileProvider
Store or read this file on the named provider using your own API key for it. Omit to use OpenRouter storage.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
import (
"github.com/OpenRouterTeam/go-sdk/models/components"
)
value := components.FileProviderOpenai
// Open enum: custom values can be created with a direct type cast
custom := components.FileProvider("custom_value")
| Name | Value |
|---|---|
FileProviderOpenai | openai |
FileProviderAnthropic | anthropic |