Commit d131bce
authored
fix: align MOSProduct._build_system_prompt signature with MOSCore (MemTensor#146)
## Description
Summary: Fix MOSProduct._build_system_prompt method signature mismatch
that caused TypeError when calling MOSProduct.chat(). The child class
method signature didn't match what the parent MOSCore class expected,
breaking inheritance contract.
Fix: #(no existing issue - this was discovered during development)
Docs Issue/PR: (not applicable - internal bug fix)
Reviewer: @(leave blank if you don't know who reviews PRs in this repo)
## Checklist:
- [x] I have performed a self-review of my own code | 我已自行检查了自己的代码
- [ ] I have commented my code in hard-to-understand areas |
我已在难以理解的地方对代码进行了注释
- [ ] I have added tests that prove my fix is effective or that my
feature works | 我已添加测试以证明我的修复有效或功能正常
- [ ] I have created related documentation issue/PR in
[MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) (if applicable) |
我已在 [MemOS-Docs](https://github.com/MemTensor/MemOS-Docs) 中创建了相关的文档
issue/PR(如果适用)
- [ ] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
331 | 333 | | |
332 | 334 | | |
333 | 335 | | |
| |||
759 | 761 | | |
760 | 762 | | |
761 | 763 | | |
762 | | - | |
| 764 | + | |
763 | 765 | | |
764 | 766 | | |
765 | 767 | | |
| |||
0 commit comments