@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.cjs +2 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +2 -2
- package/dist/resources/conversations.js +3 -1
- package/dist/resources/conversations.js.map +1 -1
- package/dist/types/generated/api.d.ts +36 -7
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/conversations.d.ts +6 -0
- package/dist/types/resources/conversations.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/package.json +2 -1
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;
|