@ai-sdk/provider-utils 5.0.10 → 5.0.11
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.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/types/tool.ts +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1828,8 +1828,8 @@ type BaseTool<INPUT extends JSONValue | unknown | never = any, OUTPUT extends JS
|
|
|
1828
1828
|
INPUT
|
|
1829
1829
|
] extends [never] ? unknown : INPUT, NoInfer<CONTEXT>>;
|
|
1830
1830
|
/**
|
|
1831
|
-
* Optional function that is called when the
|
|
1832
|
-
*
|
|
1831
|
+
* Optional function that is called when the model starts generating the tool input.
|
|
1832
|
+
* In non-streaming contexts, it is called immediately before `onInputAvailable`.
|
|
1833
1833
|
*/
|
|
1834
1834
|
onInputStart?: (options: ToolExecutionOptions<NoInfer<CONTEXT>>) => void | PromiseLike<void>;
|
|
1835
1835
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1153,7 +1153,7 @@ function withUserAgentSuffix(headers, ...userAgentSuffixParts) {
|
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
1155
|
// src/version.ts
|
|
1156
|
-
var VERSION = true ? "5.0.
|
|
1156
|
+
var VERSION = true ? "5.0.11" : "0.0.0-test";
|
|
1157
1157
|
|
|
1158
1158
|
// src/get-from-api.ts
|
|
1159
1159
|
var getOriginalFetch = () => globalThis.fetch;
|