@ai-sdk/provider 3.0.0-beta.23 → 3.0.0-beta.25
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 +12 -0
- package/dist/index.d.mts +11 -0
- package/dist/index.d.ts +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @ai-sdk/provider
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.25
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 53f3368: feat(provider): support embedding model call warnings in specification
|
|
8
|
+
|
|
9
|
+
## 3.0.0-beta.24
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- dce03c4: feat: tool input examples
|
|
14
|
+
|
|
3
15
|
## 3.0.0-beta.23
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -247,6 +247,10 @@ type EmbeddingModelV3 = {
|
|
|
247
247
|
*/
|
|
248
248
|
body?: unknown;
|
|
249
249
|
};
|
|
250
|
+
/**
|
|
251
|
+
Warnings for the call, e.g. unsupported settings.
|
|
252
|
+
*/
|
|
253
|
+
warnings: Array<SharedV3Warning>;
|
|
250
254
|
}>;
|
|
251
255
|
};
|
|
252
256
|
|
|
@@ -914,6 +918,13 @@ type LanguageModelV3FunctionTool = {
|
|
|
914
918
|
understand the tool's input requirements and to provide matching suggestions.
|
|
915
919
|
*/
|
|
916
920
|
inputSchema: JSONSchema7;
|
|
921
|
+
/**
|
|
922
|
+
* An optional list of input examples that show the language
|
|
923
|
+
* model what the input should look like.
|
|
924
|
+
*/
|
|
925
|
+
inputExamples?: Array<{
|
|
926
|
+
input: JSONObject;
|
|
927
|
+
}>;
|
|
917
928
|
/**
|
|
918
929
|
* Strict mode setting for the tool.
|
|
919
930
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -247,6 +247,10 @@ type EmbeddingModelV3 = {
|
|
|
247
247
|
*/
|
|
248
248
|
body?: unknown;
|
|
249
249
|
};
|
|
250
|
+
/**
|
|
251
|
+
Warnings for the call, e.g. unsupported settings.
|
|
252
|
+
*/
|
|
253
|
+
warnings: Array<SharedV3Warning>;
|
|
250
254
|
}>;
|
|
251
255
|
};
|
|
252
256
|
|
|
@@ -914,6 +918,13 @@ type LanguageModelV3FunctionTool = {
|
|
|
914
918
|
understand the tool's input requirements and to provide matching suggestions.
|
|
915
919
|
*/
|
|
916
920
|
inputSchema: JSONSchema7;
|
|
921
|
+
/**
|
|
922
|
+
* An optional list of input examples that show the language
|
|
923
|
+
* model what the input should look like.
|
|
924
|
+
*/
|
|
925
|
+
inputExamples?: Array<{
|
|
926
|
+
input: JSONObject;
|
|
927
|
+
}>;
|
|
917
928
|
/**
|
|
918
929
|
* Strict mode setting for the tool.
|
|
919
930
|
*
|