@gammatech/aijsx 0.2.0-beta.3 → 0.2.0-beta.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
@@ -987,7 +987,7 @@ async function* OpenAIVisionChatCompletion(props, { logger, render, getContext }
987
987
  return `<ContentTypeImage url="${part.image_url.url}" detail="${part.image_url.detail || "auto"}" />`;
988
988
  }
989
989
  throw new Error("Invalid ChatCompletionContentPart type");
990
- }).join(" ");
990
+ }).join("\n\n");
991
991
  };
992
992
  return {
993
993
  role: message.role,
package/dist/index.mjs CHANGED
@@ -904,7 +904,7 @@ async function* OpenAIVisionChatCompletion(props, { logger, render, getContext }
904
904
  return `<ContentTypeImage url="${part.image_url.url}" detail="${part.image_url.detail || "auto"}" />`;
905
905
  }
906
906
  throw new Error("Invalid ChatCompletionContentPart type");
907
- }).join(" ");
907
+ }).join("\n\n");
908
908
  };
909
909
  return {
910
910
  role: message.role,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gammatech/aijsx",
3
- "version": "0.2.0-beta.3",
3
+ "version": "0.2.0-beta.4",
4
4
  "description": "Rewrite of aijsx",
5
5
  "author": "Jordan Garcia",
6
6
  "license": "MIT",