@mastra/client-js 1.0.0-beta.3 → 1.0.0-beta.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/CHANGELOG.md +11 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1452,7 +1452,7 @@ var MemoryThread = class extends BaseResource {
|
|
|
1452
1452
|
if (include) queryParams.include = JSON.stringify(include);
|
|
1453
1453
|
const query = new URLSearchParams(queryParams);
|
|
1454
1454
|
const queryString = query.toString();
|
|
1455
|
-
const url = `/api/memory/threads/${this.threadId}/messages${queryString ?
|
|
1455
|
+
const url = `/api/memory/threads/${this.threadId}/messages?agentId=${this.agentId}${queryString ? `&${queryString}` : ""}${requestContextQueryString(requestContext, "&")}`;
|
|
1456
1456
|
return this.request(url);
|
|
1457
1457
|
}
|
|
1458
1458
|
/**
|