@gullabs/google 0.8.3 → 0.8.4

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.cjs CHANGED
@@ -411,6 +411,11 @@ function mapPart(p) {
411
411
  ...p.mediaResolution !== void 0 ? { mediaResolution: { level: mapMediaResolution(p.mediaResolution) } } : {}
412
412
  };
413
413
  }
414
+ case "file-ref":
415
+ throw new core.LlmError(
416
+ "Google Gemini expects FileUriPart with a Files API uri; got file-ref (provider file id). Upload via GoogleFileStore and pass the returned uri.",
417
+ { kind: "bad_request", retryable: false, provider: "google" }
418
+ );
414
419
  default:
415
420
  return core.assertNever(p);
416
421
  }