@ai-sdk/provider 2.0.0-beta.1 → 2.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
@@ -138,6 +138,12 @@ type EmbeddingModelV2<VALUE> = {
|
|
138
138
|
tokens: number;
|
139
139
|
};
|
140
140
|
/**
|
141
|
+
Additional provider-specific metadata. They are passed through
|
142
|
+
from the provider to the AI SDK and enable provider-specific
|
143
|
+
results that can be fully encapsulated in the provider.
|
144
|
+
*/
|
145
|
+
providerMetadata?: SharedV2ProviderMetadata;
|
146
|
+
/**
|
141
147
|
Optional response information for debugging purposes.
|
142
148
|
*/
|
143
149
|
response?: {
|
package/dist/index.d.ts
CHANGED
@@ -138,6 +138,12 @@ type EmbeddingModelV2<VALUE> = {
|
|
138
138
|
tokens: number;
|
139
139
|
};
|
140
140
|
/**
|
141
|
+
Additional provider-specific metadata. They are passed through
|
142
|
+
from the provider to the AI SDK and enable provider-specific
|
143
|
+
results that can be fully encapsulated in the provider.
|
144
|
+
*/
|
145
|
+
providerMetadata?: SharedV2ProviderMetadata;
|
146
|
+
/**
|
141
147
|
Optional response information for debugging purposes.
|
142
148
|
*/
|
143
149
|
response?: {
|