ai 4.1.24 → 4.1.26

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/dist/index.mjs CHANGED
@@ -5820,6 +5820,7 @@ var doWrap = ({
5820
5820
  modelId,
5821
5821
  providerId
5822
5822
  }) => {
5823
+ var _a15;
5823
5824
  async function doTransform({
5824
5825
  params,
5825
5826
  type
@@ -5832,7 +5833,7 @@ var doWrap = ({
5832
5833
  modelId: modelId != null ? modelId : model.modelId,
5833
5834
  defaultObjectGenerationMode: model.defaultObjectGenerationMode,
5834
5835
  supportsImageUrls: model.supportsImageUrls,
5835
- supportsUrl: model.supportsUrl,
5836
+ supportsUrl: (_a15 = model.supportsUrl) == null ? void 0 : _a15.bind(model),
5836
5837
  supportsStructuredOutputs: model.supportsStructuredOutputs,
5837
5838
  async doGenerate(params) {
5838
5839
  const transformedParams = await doTransform({ params, type: "generate" });