@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.cjs
CHANGED
|
@@ -20687,7 +20687,11 @@ async function listThreads(backendUrl, auth, opts = {}) {
|
|
|
20687
20687
|
const res = await fetch(`${base2}/api/conversations/threads/list`, {
|
|
20688
20688
|
method: "POST",
|
|
20689
20689
|
headers: { "Content-Type": "application/json", ...getAuthHeaders(auth) },
|
|
20690
|
-
body: JSON.stringify({
|
|
20690
|
+
body: JSON.stringify({
|
|
20691
|
+
limit: opts.limit ?? 50,
|
|
20692
|
+
offset: opts.offset ?? 0,
|
|
20693
|
+
exclude_triggered: opts.exclude_triggered ?? true
|
|
20694
|
+
})
|
|
20691
20695
|
});
|
|
20692
20696
|
if (!res.ok) {
|
|
20693
20697
|
throw new Error(`[AthenaSDK] Failed to list threads: ${res.status}`);
|