@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/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 ? `?${queryString}` : ""}${requestContextQueryString(requestContext, 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
  /**