ScaleDownProviderSettings
Namespace: Vercel.AI.ScaleDown
public sealed class ScaleDownProviderSettingsScaleDown provider settings. Maps to ScaleDownProviderSettings.
Inheritance: object
Properties
Section titled “Properties”ApiKey
Section titled “ApiKey”public string? ApiKey { get; set; }API key. Defaults to the SCALEDOWN_API_KEY environment variable, read when a request is made.
Value: string
ApiKeyProvider
Section titled “ApiKeyProvider”public Func<CancellationToken, Task<string>>? ApiKeyProvider { get; set; }Resolves the API key on every request. Takes precedence over ApiKey. Maps to an async apiKey function.
Value: Func<CancellationToken, Task<string>>
BaseUrl
Section titled “BaseUrl”public string? BaseUrl { get; set; }API base URL. Defaults to https://api.scaledown.xyz.
Value: string
Headers
Section titled “Headers”public IDictionary<string, string>? Headers { get; set; }Headers sent with every request.
Value: IDictionary<string, string>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product