EdgeAIG/opencode / .opencode /node_modules /@ai-sdk /provider /src /shared /v2 /shared-v2-provider-metadata.ts
| import { JSONValue } from '../../json-value/json-value'; | |
| /** | |
| * Additional provider-specific metadata. | |
| * Metadata are additional outputs from 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 SharedV2ProviderMetadata = Record< | |
| string, | |
| Record<string, JSONValue> | |
| >; | |
Xet Storage Details
- Size:
- 743 Bytes
- Xet hash:
- 8e40aa41ff89bc333ba41b68591e24cba023ab6c3e5cc96bbe9be46bee5e7a24
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.