Documentation
¶
Overview ¶
Command providers inspects and configures providers at runtime.
It shows the provider registry that sits beside the model catalog: query whether a provider has a usable credential with AuthStatus, redirect a provider's traffic with SetOverride, and register a custom endpoint with NewSpecProvider. The package-level Complete resolves every request through the default registry, so an override applied here reaches the request below.
The API key is read from the provider's environment variable when StreamOptions.APIKey is empty:
DEEPSEEK_API_KEY=sk-... go run ./example/llm/providers
Click to show internal directories.
Click to hide internal directories.