opencode-data / .opencode /node_modules /@ai-sdk /provider /src /shared /v2 /shared-v2-provider-options.ts
Download .opencode/node_modules/@ai-sdk/provider/src/shared/v2/shared-v2-provider-options.ts from Chenloong999/opencode-data: direct link, hf CLI and curl.
- Browser
- Download file 730 Bytes
-
https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/%40ai-sdk/provider/src/shared/v2/shared-v2-provider-options.ts
- Command line
-
hf download hf://datasets/Chenloong999/opencode-data/.opencode/node_modules/@ai-sdk/provider/src/shared/v2/shared-v2-provider-options.ts
-
curl -L -o shared-v2-provider-options.ts https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/%40ai-sdk/provider/src/shared/v2/shared-v2-provider-options.ts
730 Bytes
| import { JSONValue } from '../../json-value/json-value'; | |
| /** | |
| * Additional provider-specific options. | |
| * Options are additional input to the provider. | |
| * They are passed through to the provider from the AI SDK | |
| * and enable provider-specific functionality | |
| * that can be fully encapsulated in the provider. | |
| * | |
| * This enables us to quickly ship provider-specific functionality | |
| * without affecting the core AI SDK. | |
| * | |
| * The outer record is keyed by the provider name, and the inner | |
| * record is keyed by the provider-specific metadata key. | |
| * | |
| * ```ts | |
| * { | |
| * "anthropic": { | |
| * "cacheControl": { "type": "ephemeral" } | |
| * } | |
| * } | |
| * ``` | |
| */ | |
| export type SharedV2ProviderOptions = Record<string, Record<string, JSONValue>>; | |