Skip to content

Feat: add demo api and scheduler vllm etc - #83

Merged
fridayL merged 77 commits into
devfrom
feat/demo-product
Jul 16, 2025
Merged

Feat: add demo api and scheduler vllm etc#83
fridayL merged 77 commits into
devfrom
feat/demo-product

Conversation

@fridayL

@fridayL fridayL commented Jul 15, 2025

Copy link
Copy Markdown
Collaborator

Description

Product API Development & Multi-language Support

Key Features

  • Product API: Complete API implementation with demo updates
  • Multi-language Support: Added for mem-reader and tree reorganizer
  • VLLM Integration: LLM support with streaming generation
  • Azure Backend: Added cloud backend support
  • Memory Scheduler: Enhanced with RabbitMQ and activation memory

Bug Fixes

  • Fixed CI issues, user role errors, and memory scheduler bugs
  • Improved chat memory management and search functionality
  • Resolved merge conflicts and logging issues

Contributors: @fridayL, @tangg555, @kakack, @CaralHsi, @Gaojianli

Checklist:

  • 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 added necessary documentation (if applicable) | 我已添加必要的文档(如果适用)
  • I have linked the issue to this PR (if applicable) | 我已将 issue 链接到此 PR(如果适用)
  • I have mentioned the person who will review this PR | 我已提及将审查此 PR 的人

fridayL and others added 30 commits July 7, 2025 16:04
* feat: add product API and related functionality (cleaned sensitive data)

* feat: add singleton for memos and llm

* fix:fix persistent_user_manager

* feat:update prompt and rm readme

* fix:ci code
	* fix bug of message consuming
	* add a range of configs
	* support rabbitmq
	* add new docs for the beginner
	* add more examples
## Description

<!--
Please include a summary of the changes below;
Fill in the issue number that this PR addresses (if applicable);
Mention the person who will review this PR (if you know who it is);
Replace (summary), (issue), and (reviewer) with the appropriate
information (No parentheses).

请在下方填写更改的摘要;
填写此 PR 解决的问题编号(如果适用);
提及将审查此 PR 的人(如果您知道是谁);
替换 (summary)、(issue) 和 (reviewer) 为适当的信息(不带括号)。
-->

Summary: (summary)

Fix: #(issue)

Reviewer: @(reviewer)

## Checklist:

- [ ] 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 added necessary documentation (if applicable) |
我已添加必要的文档(如果适用)
- [ ] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人
## Description

Summary: 
API Development: Added comprehensive product API functionality with
singleton pattern for memos and LLM integration, including user role
management and persistent user handling.
Bug Fixes & Optimization: Resolved critical issues with UserRole errors,
CI code, chat memory management, and suggestion memory functionality.
Feature Enhancements: Updated chat functionality, added UUID support,
improved search data handling, and implemented bilingual support
(Chinese/English) with memory optimization.

Fix: #(issue)

Reviewer: @(reviewer)

## Checklist:

- [ ] 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 added necessary documentation (if applicable) |
我已添加必要的文档(如果适用)
- [ ] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人
## Description

<!--
Please include a summary of the changes below;
Fill in the issue number that this PR addresses (if applicable);
Mention the person who will review this PR (if you know who it is);
Replace (summary), (issue), and (reviewer) with the appropriate
information (No parentheses).

请在下方填写更改的摘要;
填写此 PR 解决的问题编号(如果适用);
提及将审查此 PR 的人(如果您知道是谁);
替换 (summary)、(issue) 和 (reviewer) 为适当的信息(不带括号)。
-->

Summary: (summary)

Fix: #(issue)

Reviewer: @(reviewer)

## Checklist:

- [ ] 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 added necessary documentation (if applicable) |
我已添加必要的文档(如果适用)
- [ ] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人
fridayL and others added 17 commits July 15, 2025 08:50
## Description

<!--
Please include a summary of the changes below;
Fill in the issue number that this PR addresses (if applicable);
Mention the person who will review this PR (if you know who it is);
Replace (summary), (issue), and (reviewer) with the appropriate
information (No parentheses).

请在下方填写更改的摘要;
填写此 PR 解决的问题编号(如果适用);
提及将审查此 PR 的人(如果您知道是谁);
替换 (summary)、(issue) 和 (reviewer) 为适当的信息(不带括号)。
-->

Summary: (summary)

Fix: #(issue)

Reviewer: @(reviewer)

## Checklist:

- [ ] 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 added necessary documentation (if applicable) |
我已添加必要的文档(如果适用)
- [ ] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人
## Description

<!--
Please include a summary of the changes below;
Fill in the issue number that this PR addresses (if applicable);
Mention the person who will review this PR (if you know who it is);
Replace (summary), (issue), and (reviewer) with the appropriate
information (No parentheses).

请在下方填写更改的摘要;
填写此 PR 解决的问题编号(如果适用);
提及将审查此 PR 的人(如果您知道是谁);
替换 (summary)、(issue) 和 (reviewer) 为适当的信息(不带括号)。
-->

Summary: (summary) Add azure backend support

Fix: #(issue)

Reviewer: @(reviewer)

## Checklist:

- [ x] I have performed a self-review of my own code | 我已自行检查了自己的代码
- [x ] I have commented my code in hard-to-understand areas |
我已在难以理解的地方对代码进行了注释
- [x ] I have added tests that prove my fix is effective or that my
feature works | 我已添加测试以证明我的修复有效或功能正常
- [ ] I have added necessary documentation (if applicable) |
我已添加必要的文档(如果适用)
- [ ] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人
## Description

<!--
Please include a summary of the changes below;
Fill in the issue number that this PR addresses (if applicable);
Mention the person who will review this PR (if you know who it is);
Replace (summary), (issue), and (reviewer) with the appropriate
information (No parentheses).

请在下方填写更改的摘要;
填写此 PR 解决的问题编号(如果适用);
提及将审查此 PR 的人(如果您知道是谁);
替换 (summary)、(issue) 和 (reviewer) 为适当的信息(不带括号)。
-->

Summary: (summary)

Fix: #(issue)

Reviewer: @(reviewer)

## Checklist:

- [ ] 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 added necessary documentation (if applicable) |
我已添加必要的文档(如果适用)
- [ ] I have linked the issue to this PR (if applicable) | 我已将 issue
链接到此 PR(如果适用)
- [ ] I have mentioned the person who will review this PR | 我已提及将审查此 PR
的人
@fridayL
fridayL requested a review from tangg555 July 15, 2025 13:21
@fridayL
fridayL marked this pull request as ready for review July 15, 2025 13:22

@tangg555 tangg555 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@fridayL
fridayL merged commit b7636eb into dev Jul 16, 2025
32 checks passed
@tangg555
tangg555 deleted the feat/demo-product branch July 16, 2025 06:01
tianxing02 pushed a commit to tianxing02/MemOS that referenced this pull request Feb 24, 2026
* feat: add product API and related functionality (cleaned sensitive data)

* feat: add singleton for memos and llm

* fix:fix persistent_user_manager

* feat:update prompt and rm readme

* fix:ci code

* feat: update demo and add user manager (MemTensor#31)

* feat: add product API and related functionality (cleaned sensitive data)

* feat: add singleton for memos and llm

* fix:fix persistent_user_manager

* feat:update prompt and rm readme

* fix:ci code

* Feature & Fix bugs: mem scheduler with rabbitmq and web log submission
	* fix bug of message consuming
	* add a range of configs
	* support rabbitmq
	* add new docs for the beginner
	* add more examples

* fix:UserRole error

* update: update product api

* fix: suggestion mem

* update:fix add mem

* feat: update  chat

* fix: add uuid and product think

* update: search data

* fix:update

* fix:chat mem

* feat:vllm llm support version0

* feat: update zh en and mem

* feat: update cube ids

* feat:vllm llm support version0.5

* fix: memchat multi turn

* feat: add multi-language feature in mem-reader

* feat: add multi-language feature in mem-reader

* feat: add multi-language feature in tree reorganizer

* feat: reinforce language

* fix:fix search and add product tmp data

* fix bugs & refactor the code: mem scheduler support web log feature

* refactor & fix bugs: mem scheduler related codes including modules like dispatcher and retriever, the dependencies and the unittest.

* fix:remove dup

* feat: add logs

* feat:vllm llm support streaming generate and add benchmark script

* add: chat time for add

* fix:merge error

* fix:merge error

* feat & fix bugs: factor mem scheduler. test_retriever.py is waiting for test

* feat:add vllm chat model

* fix bugs: filter logging of retriever module in mem scheduler

* fix: test_api

* feat:update feat

* fix: manager

* feat: add vllm cahche

* fix bugs: fix scheduler logging bug of working memory replacement

* refactor: change default update interval

* fix bugs: fix bugs in  update activation memory in memory scheduler

* add support for azure backend

* feat: add deafult config overide for store config

* feat: add MOS_ENABLE_REORGANIZE config

* fix bugs: fix bugs of filter and updating activation memories

* fix bugs: change name

* feat: add act mme

* fix:poetry lock

* delete: del
 file

---------

Co-authored-by: chentang <travistang@foxmail.com>
Co-authored-by: Kai <kakack@126.com>
Co-authored-by: 席阳阳 <caralhsi@gmail.com>
Co-authored-by: zhangyibo.114514 <zhangyibo.114514@bytedance.com>
Hun-ger pushed a commit to Hun-ger/MemOS that referenced this pull request Mar 30, 2026
…40507

a140507 Merge pull request MemTensor#98 from MemTensor/test
29189dd 0.1.11
e8ff674 0.1.11-beta.0
a6c61bf Merge pull request MemTensor#97 from Hun-ger/feat_agent_config_fix
6079eb6 Added a parameter that can be configured in the  file.
96993fa Merge pull request MemTensor#96 from MemTensor/revert-95-feat/memos-userid-tag-override
4032a13 Revert "feat: support memos userid tag override"
a1dac9e Merge pull request MemTensor#95 from MemTensor/feat/memos-userid-tag-override
b9a4dfa feat: support memos userid tag override
dcaabae docs: document direct session user id config
c87fc7d Merge pull request MemTensor#92 from MemTensor/feat/direct-session-user-id
9b957b1 Merge pull request MemTensor#91 from MemTensor/feat_agent_config
9f43fa7 Merge pull request MemTensor#90 from Hun-ger/feat_allow_agent
4bf6200 delete unuse keywords
c487477 Merge pull request MemTensor#89 from MemTensor/feat_agent_config
acba60c Merge pull request MemTensor#88 from Hun-ger/feat_allow_agent
7458b29 add agentoverride
6097773 Merge pull request MemTensor#85 from MemTensor/feat_agent_config
66db63e Merge pull request MemTensor#86 from Hun-ger/feat_allow_agent
d56b900 fix index keywords
d14c622 Merge remote-tracking branch 'origin/test' into feat/direct-session-user-id
638ceda Merge pull request MemTensor#69 from Hun-ger/feat_allow_agent
0ff3a75 Merge branch 'refs/heads/test' into feat_allow_agent
e65bb00 Merge pull request MemTensor#83 from MemTensor/test
1210624 0.1.10
6a3c990 Merge pull request MemTensor#81 from syzsunshine219/fix/review-defaults
cde03b9 fix: sync recall filter defaults and complete plugin schema
e93bc6f Merge branch 'refs/heads/feat_agent_config' into feat_allow_agent
0aa8e7e feat: support direct session user ids
0cd0fd8 add feat: allow agent config
4801fab Merge pull request MemTensor#64 from starsalwaysineyes/fix/use-update-time-in-recall-display
55d4c74 fix: prefer update time in recall display
ce8ea8d feat: add stripTrailingFeishuSystemHints to clean up trailing system hints
0568023 Merge pull request MemTensor#63 from starsalwaysineyes/fix/common-openclaw-metadata-strip
fdf4805 fix: reuse shared OpenClaw metadata stripping
1ec1002 feat: add stripTrailingFeishuSystemHints to clean up trailing system hints
f86ec33 Merge pull request MemTensor#62 from XiaohuiSu/test
9d4fff0 ✨ feat: 0.1.10-beta.3
d8c51d4 fix: improve Feishu prompt stripping to support messages starting directly with message_id
c35f1e0 feat: strip Feishu injected system prompts from user query
f59309a feat: add advanced memory configuration options (capture strategy, async mode, throttling)
4d7e66d Merge pull request MemTensor#60 from XiaohuiSu/test
4cb4df7 Revert "feat: add switches to disable automatic memory sync"
c333dfa Merge branch 'test' of https://github.com/MemTensor/MemOS-Cloud-OpenClaw-Plugin into test
0311213 Merge pull request MemTensor#59 from starsalwaysineyes/codex/disable-auto-addmessage
32e3612 feat: add switches to disable automatic memory sync
d552c29 Merge pull request MemTensor#58 from antalike/fix/readme
0c2dd7e fix: update README and README_ZH
8cab7aa 0.1.10-beta.0
a495a26 Merge pull request MemTensor#56 from starsalwaysineyes/fix/strip-openclaw-query-cleanup
ec20d89 Merge pull request MemTensor#57 from XiaohuiSu/test
3e3daa9 fix: strip leading timestamp envelopes after inbound metadata
c624bab fix: strip openclaw inbound metadata before memos sync

git-subtree-dir: apps/MemOS-Cloud-OpenClaw-Plugin
git-subtree-split: a140507f749d7a2bc5f61930fc48460077543c2a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants