@athenaintel/react 0.9.3 → 0.9.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.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20669,7 +20669,11 @@ async function listThreads(backendUrl, auth, opts = {}) {
|
|
|
20669
20669
|
const res = await fetch(`${base2}/api/conversations/threads/list`, {
|
|
20670
20670
|
method: "POST",
|
|
20671
20671
|
headers: { "Content-Type": "application/json", ...getAuthHeaders(auth) },
|
|
20672
|
-
body: JSON.stringify({
|
|
20672
|
+
body: JSON.stringify({
|
|
20673
|
+
limit: opts.limit ?? 50,
|
|
20674
|
+
offset: opts.offset ?? 0,
|
|
20675
|
+
exclude_triggered: opts.exclude_triggered ?? true
|
|
20676
|
+
})
|
|
20673
20677
|
});
|
|
20674
20678
|
if (!res.ok) {
|
|
20675
20679
|
throw new Error(`[AthenaSDK] Failed to list threads: ${res.status}`);
|