Commit f354acf
fix: send messages in chat format in MCP add_memory tool (#1275)
The /product/add endpoint expects messages as a list of chat message
objects, not a plain string. When passed a string, the SimpleStruct
MemReader silently skips it and no memory is stored.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: CaralHsi <caralhsi@gmail.com>1 parent 83ea72e commit f354acf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments