ai 6.0.0-beta.115 → 6.0.0-beta.116
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 +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -2748,6 +2748,12 @@ type ToolLoopAgentSettings<CALL_OPTIONS = never, TOOLS extends ToolSet = {}, OUT
|
|
|
2748
2748
|
*/
|
|
2749
2749
|
experimental_context?: unknown;
|
|
2750
2750
|
/**
|
|
2751
|
+
Custom download function to use for URLs.
|
|
2752
|
+
|
|
2753
|
+
By default, files are downloaded if the model does not support the URL for the given media type.
|
|
2754
|
+
*/
|
|
2755
|
+
experimental_download?: DownloadFunction | undefined;
|
|
2756
|
+
/**
|
|
2751
2757
|
* The schema for the call options.
|
|
2752
2758
|
*/
|
|
2753
2759
|
callOptionsSchema?: FlexibleSchema<CALL_OPTIONS>;
|
|
@@ -2756,7 +2762,7 @@ type ToolLoopAgentSettings<CALL_OPTIONS = never, TOOLS extends ToolSet = {}, OUT
|
|
|
2756
2762
|
*
|
|
2757
2763
|
* You can use this to have templates based on call options.
|
|
2758
2764
|
*/
|
|
2759
|
-
prepareCall?: (options: AgentCallParameters<CALL_OPTIONS> & Pick<ToolLoopAgentSettings<CALL_OPTIONS, TOOLS, OUTPUT>, 'model' | 'tools' | 'maxOutputTokens' | 'temperature' | 'topP' | 'topK' | 'presencePenalty' | 'frequencyPenalty' | 'stopSequences' | 'seed' | 'headers' | 'instructions' | 'stopWhen' | 'experimental_telemetry' | 'activeTools' | 'providerOptions' | 'experimental_context'>) => MaybePromiseLike<Pick<ToolLoopAgentSettings<CALL_OPTIONS, TOOLS, OUTPUT>, 'model' | 'tools' | 'maxOutputTokens' | 'temperature' | 'topP' | 'topK' | 'presencePenalty' | 'frequencyPenalty' | 'stopSequences' | 'seed' | 'headers' | 'instructions' | 'stopWhen' | 'experimental_telemetry' | 'activeTools' | 'providerOptions' | 'experimental_context'> & Omit<Prompt, 'system'>>;
|
|
2765
|
+
prepareCall?: (options: AgentCallParameters<CALL_OPTIONS> & Pick<ToolLoopAgentSettings<CALL_OPTIONS, TOOLS, OUTPUT>, 'model' | 'tools' | 'maxOutputTokens' | 'temperature' | 'topP' | 'topK' | 'presencePenalty' | 'frequencyPenalty' | 'stopSequences' | 'seed' | 'headers' | 'instructions' | 'stopWhen' | 'experimental_telemetry' | 'activeTools' | 'providerOptions' | 'experimental_context' | 'experimental_download'>) => MaybePromiseLike<Pick<ToolLoopAgentSettings<CALL_OPTIONS, TOOLS, OUTPUT>, 'model' | 'tools' | 'maxOutputTokens' | 'temperature' | 'topP' | 'topK' | 'presencePenalty' | 'frequencyPenalty' | 'stopSequences' | 'seed' | 'headers' | 'instructions' | 'stopWhen' | 'experimental_telemetry' | 'activeTools' | 'providerOptions' | 'experimental_context' | 'experimental_download'> & Omit<Prompt, 'system'>>;
|
|
2760
2766
|
};
|
|
2761
2767
|
|
|
2762
2768
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -2748,6 +2748,12 @@ type ToolLoopAgentSettings<CALL_OPTIONS = never, TOOLS extends ToolSet = {}, OUT
|
|
|
2748
2748
|
*/
|
|
2749
2749
|
experimental_context?: unknown;
|
|
2750
2750
|
/**
|
|
2751
|
+
Custom download function to use for URLs.
|
|
2752
|
+
|
|
2753
|
+
By default, files are downloaded if the model does not support the URL for the given media type.
|
|
2754
|
+
*/
|
|
2755
|
+
experimental_download?: DownloadFunction | undefined;
|
|
2756
|
+
/**
|
|
2751
2757
|
* The schema for the call options.
|
|
2752
2758
|
*/
|
|
2753
2759
|
callOptionsSchema?: FlexibleSchema<CALL_OPTIONS>;
|
|
@@ -2756,7 +2762,7 @@ type ToolLoopAgentSettings<CALL_OPTIONS = never, TOOLS extends ToolSet = {}, OUT
|
|
|
2756
2762
|
*
|
|
2757
2763
|
* You can use this to have templates based on call options.
|
|
2758
2764
|
*/
|
|
2759
|
-
prepareCall?: (options: AgentCallParameters<CALL_OPTIONS> & Pick<ToolLoopAgentSettings<CALL_OPTIONS, TOOLS, OUTPUT>, 'model' | 'tools' | 'maxOutputTokens' | 'temperature' | 'topP' | 'topK' | 'presencePenalty' | 'frequencyPenalty' | 'stopSequences' | 'seed' | 'headers' | 'instructions' | 'stopWhen' | 'experimental_telemetry' | 'activeTools' | 'providerOptions' | 'experimental_context'>) => MaybePromiseLike<Pick<ToolLoopAgentSettings<CALL_OPTIONS, TOOLS, OUTPUT>, 'model' | 'tools' | 'maxOutputTokens' | 'temperature' | 'topP' | 'topK' | 'presencePenalty' | 'frequencyPenalty' | 'stopSequences' | 'seed' | 'headers' | 'instructions' | 'stopWhen' | 'experimental_telemetry' | 'activeTools' | 'providerOptions' | 'experimental_context'> & Omit<Prompt, 'system'>>;
|
|
2765
|
+
prepareCall?: (options: AgentCallParameters<CALL_OPTIONS> & Pick<ToolLoopAgentSettings<CALL_OPTIONS, TOOLS, OUTPUT>, 'model' | 'tools' | 'maxOutputTokens' | 'temperature' | 'topP' | 'topK' | 'presencePenalty' | 'frequencyPenalty' | 'stopSequences' | 'seed' | 'headers' | 'instructions' | 'stopWhen' | 'experimental_telemetry' | 'activeTools' | 'providerOptions' | 'experimental_context' | 'experimental_download'>) => MaybePromiseLike<Pick<ToolLoopAgentSettings<CALL_OPTIONS, TOOLS, OUTPUT>, 'model' | 'tools' | 'maxOutputTokens' | 'temperature' | 'topP' | 'topK' | 'presencePenalty' | 'frequencyPenalty' | 'stopSequences' | 'seed' | 'headers' | 'instructions' | 'stopWhen' | 'experimental_telemetry' | 'activeTools' | 'providerOptions' | 'experimental_context' | 'experimental_download'> & Omit<Prompt, 'system'>>;
|
|
2760
2766
|
};
|
|
2761
2767
|
|
|
2762
2768
|
/**
|
package/dist/index.js
CHANGED
|
@@ -886,7 +886,7 @@ function detectMediaType({
|
|
|
886
886
|
var import_provider_utils2 = require("@ai-sdk/provider-utils");
|
|
887
887
|
|
|
888
888
|
// src/version.ts
|
|
889
|
-
var VERSION = true ? "6.0.0-beta.
|
|
889
|
+
var VERSION = true ? "6.0.0-beta.116" : "0.0.0-test";
|
|
890
890
|
|
|
891
891
|
// src/util/download/download.ts
|
|
892
892
|
var download = async ({ url }) => {
|
package/dist/index.mjs
CHANGED
|
@@ -785,7 +785,7 @@ import {
|
|
|
785
785
|
} from "@ai-sdk/provider-utils";
|
|
786
786
|
|
|
787
787
|
// src/version.ts
|
|
788
|
-
var VERSION = true ? "6.0.0-beta.
|
|
788
|
+
var VERSION = true ? "6.0.0-beta.116" : "0.0.0-test";
|
|
789
789
|
|
|
790
790
|
// src/util/download/download.ts
|
|
791
791
|
var download = async ({ url }) => {
|
package/dist/internal/index.js
CHANGED
|
@@ -177,7 +177,7 @@ _a = symbol;
|
|
|
177
177
|
var import_provider_utils2 = require("@ai-sdk/provider-utils");
|
|
178
178
|
|
|
179
179
|
// src/version.ts
|
|
180
|
-
var VERSION = true ? "6.0.0-beta.
|
|
180
|
+
var VERSION = true ? "6.0.0-beta.116" : "0.0.0-test";
|
|
181
181
|
|
|
182
182
|
// src/util/download/download.ts
|
|
183
183
|
var download = async ({ url }) => {
|
package/dist/internal/index.mjs
CHANGED
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
} from "@ai-sdk/provider-utils";
|
|
154
154
|
|
|
155
155
|
// src/version.ts
|
|
156
|
-
var VERSION = true ? "6.0.0-beta.
|
|
156
|
+
var VERSION = true ? "6.0.0-beta.116" : "0.0.0-test";
|
|
157
157
|
|
|
158
158
|
// src/util/download/download.ts
|
|
159
159
|
var download = async ({ url }) => {
|