Download .opencode/node_modules/@ai-sdk/provider/src/shared/v3/shared-v3-warning.ts from Chenloong999/opencode-data: direct link, hf CLI and curl.
- Browser
- Download file 990 Bytes
-
https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/%40ai-sdk/provider/src/shared/v3/shared-v3-warning.ts
- Command line
-
hf download hf://datasets/Chenloong999/opencode-data/.opencode/node_modules/@ai-sdk/provider/src/shared/v3/shared-v3-warning.ts
-
curl -L -o shared-v3-warning.ts https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/%40ai-sdk/provider/src/shared/v3/shared-v3-warning.ts
990 Bytes
| /** | |
| * Warning from the model. | |
| * | |
| * For example, that certain features are unsupported or compatibility | |
| * functionality is used (which might lead to suboptimal results). | |
| */ | |
| export type SharedV3Warning = | |
| | { | |
| /** | |
| * A feature is not supported by the model. | |
| */ | |
| type: 'unsupported'; | |
| /** | |
| * The feature that is not supported. | |
| */ | |
| feature: string; | |
| /** | |
| * Additional details about the warning. | |
| */ | |
| details?: string; | |
| } | |
| | { | |
| /** | |
| * A compatibility feature is used that might lead to suboptimal results. | |
| */ | |
| type: 'compatibility'; | |
| /** | |
| * The feature that is used in a compatibility mode. | |
| */ | |
| feature: string; | |
| /** | |
| * Additional details about the warning. | |
| */ | |
| details?: string; | |
| } | |
| | { | |
| /** | |
| * Other warning. | |
| */ | |
| type: 'other'; | |
| /** | |
| * The message of the warning. | |
| */ | |
| message: string; | |
| }; | |