You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SDK supports custom OpenAI-compatible API providers (BYOK - Bring Your Own Key), including local providers like Ollama. When using a custom provider, you must specify the `Model` explicitly.
344
+
345
+
**ProviderConfig:**
346
+
347
+
-`Type` (string): Provider type - "openai", "azure", or "anthropic" (default: "openai")
348
+
-`BaseURL` (string): API endpoint URL (required)
349
+
-`APIKey` (string): API key (optional for local providers like Ollama)
350
+
-`BearerToken` (string): Bearer token for authentication (takes precedence over APIKey)
351
+
-`WireApi` (string): API format for OpenAI/Azure - "completions" or "responses" (default: "completions")
352
+
-`Azure.APIVersion` (string): Azure API version (default: "2024-10-21")
The SDK supports custom OpenAI-compatible API providers (BYOK - Bring Your Own Key), including local providers like Ollama. When using a custom provider, you must specify the `model` explicitly.
0 commit comments