Commit f605f79
fix: align MOSProduct._build_system_prompt signature with MOSCore (#169)
* fix: align MOSProduct._build_system_prompt signature with MOSCore
- Fix TypeError when calling MOSProduct.chat() method
- MOSCore.chat() expects _build_system_prompt(memories, base_prompt=...)
- MOSProduct._build_system_prompt had incompatible signature (user_id, memories)
- Updated signature to match parent class interface
- Removed unused user_id parameter from method
* ran format
---------
Co-authored-by: chunyu li <[email protected]>
Co-authored-by: muzzlol <[email protected]>1 parent 9764d5e commit f605f79
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
343 | 345 | | |
344 | 346 | | |
345 | 347 | | |
| |||
751 | 753 | | |
752 | 754 | | |
753 | 755 | | |
754 | | - | |
| 756 | + | |
755 | 757 | | |
756 | 758 | | |
757 | 759 | | |
| |||
0 commit comments