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