Skip to content

Commit eee5539

Browse files
Haisen772wtfsayo
andauthored
Replace user ID with room ID in MemoryManager and other improvements (elizaOS#2492)
* Update MemoryManager.md * Update autonomous-trading.md * Update fine-tuning.md --------- Co-authored-by: Sayo <hi@sayo.wtf>
1 parent 319840c commit eee5539

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/api/classes/MemoryManager.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,13 @@ Error if the memory content is empty
110110

111111
> **getMemories**(`opts`): `Promise`\<[`Memory`](../interfaces/Memory.md)[]\>
112112
113-
Retrieves a list of memories by user IDs, with optional deduplication.
113+
Retrieves a list of memories by room IDs, with optional deduplication.
114114

115115
#### Parameters
116116

117117
**opts**
118118

119-
Options including user IDs, count, and uniqueness.
119+
Options including room IDs, count, and uniqueness.
120120

121121
**opts.roomId**: \`$\{string\}-$\{string\}-$\{string\}-$\{string\}-$\{string\}\`
122122

docs/docs/advanced/autonomous-trading.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ async function executeSwap(
245245
},
246246
): Promise<string> {
247247
// Prepare transaction
248-
const { swapTransaction } = await getSwapTransaction(input);
248+
const { swapTransaction: transaction } = await getSwapTransaction(input);
249249

250250
// Sign transaction
251251
const keypair = getKeypairFromPrivateKey(

docs/docs/advanced/fine-tuning.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ enum ModelProviderName {
2626
REDPILL,
2727
OPENROUTER,
2828
HEURIST,
29-
LIVEPEER,
29+
LIVEPEER,
3030
}
3131
```
3232

0 commit comments

Comments
 (0)