Skip to content

Commit 9d7cf89

Browse files
chore: regenerate providers and docs [skip ci]
1 parent 106c960 commit 9d7cf89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/public/llms-full.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63255,10 +63255,12 @@ Retrieve all memory threads for a specific resource:
6325563255
```typescript
6325663256
const threads = await mastraClient.getMemoryThreads({
6325763257
resourceId: "resource-1",
63258-
agentId: "agent-1",
63258+
agentId: "agent-1", // Optional - can be omitted if storage is configured
6325963259
});
6326063260
```
6326163261

63262+
When `agentId` is omitted and storage is configured on the server, threads will be retrieved using storage directly. This is useful when multiple agents share the same threads (e.g., in workflows with multiple agent steps).
63263+
6326263264
### Create a New Thread
6326363265

6326463266
Create a new memory thread:

0 commit comments

Comments
 (0)