@ai-sdk/google 4.0.11 → 4.0.14

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.
@@ -3828,6 +3828,7 @@ function convertFilePartToContent({
3828
3828
  kind = "video";
3829
3829
  break;
3830
3830
  case "application":
3831
+ case "text":
3831
3832
  kind = "document";
3832
3833
  break;
3833
3834
  default:
@@ -4841,6 +4842,7 @@ async function pollGoogleInteractionUntilTerminal({
4841
4842
  responseHeaders
4842
4843
  } = await getFromApi({
4843
4844
  url,
4845
+ validateUrl: false,
4844
4846
  headers,
4845
4847
  failedResponseHandler: googleFailedResponseHandler,
4846
4848
  successfulResponseHandler: createJsonResponseHandler3(
@@ -5065,6 +5067,7 @@ function streamGoogleInteractionEvents({
5065
5067
  async function openReader() {
5066
5068
  const { value: stream } = await getFromApi2({
5067
5069
  url: buildUrl(),
5070
+ validateUrl: false,
5068
5071
  headers: eventSourceHeaders,
5069
5072
  failedResponseHandler: googleFailedResponseHandler,
5070
5073
  successfulResponseHandler: createEventSourceResponseHandler2(