@amigo-ai/platform-sdk 0.16.0 → 0.17.1

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
@@ -1911,6 +1911,7 @@ function buildTextStreamUrl({
1911
1911
  serviceId: serviceId2,
1912
1912
  conversationId,
1913
1913
  entityId: entityId2,
1914
+ toolEvents,
1914
1915
  token,
1915
1916
  textStreamUrl: textStreamUrlOverride
1916
1917
  }) {
@@ -1919,6 +1920,7 @@ function buildTextStreamUrl({
1919
1920
  url.searchParams.set("service_id", serviceId2);
1920
1921
  if (conversationId) url.searchParams.set("conversation_id", conversationId);
1921
1922
  if (entityId2) url.searchParams.set("entity_id", entityId2);
1923
+ if (toolEvents) url.searchParams.set("tool_events", "true");
1922
1924
  if (token !== void 0)
1923
1925
  url.searchParams.set("token", validateTextStreamAuthToken(token, "token"));
1924
1926
  return url;