@amigo-ai/platform-sdk 0.16.0 → 0.17.0

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
@@ -2004,6 +2004,7 @@ function buildTextStreamUrl({
2004
2004
  serviceId: serviceId2,
2005
2005
  conversationId,
2006
2006
  entityId: entityId2,
2007
+ toolEvents,
2007
2008
  token,
2008
2009
  textStreamUrl: textStreamUrlOverride
2009
2010
  }) {
@@ -2012,6 +2013,7 @@ function buildTextStreamUrl({
2012
2013
  url.searchParams.set("service_id", serviceId2);
2013
2014
  if (conversationId) url.searchParams.set("conversation_id", conversationId);
2014
2015
  if (entityId2) url.searchParams.set("entity_id", entityId2);
2016
+ if (toolEvents) url.searchParams.set("tool_events", "true");
2015
2017
  if (token !== void 0)
2016
2018
  url.searchParams.set("token", validateTextStreamAuthToken(token, "token"));
2017
2019
  return url;