Skip to content

Feat/merge api refactor to dev#514

Merged
CaralHsi merged 17 commits intoMemTensor:devfrom
Wang-Daoji:feat/merge_api_refactor_to_dev
Nov 22, 2025
Merged

Feat/merge api refactor to dev#514
CaralHsi merged 17 commits intoMemTensor:devfrom
Wang-Daoji:feat/merge_api_refactor_to_dev

Conversation

@Wang-Daoji
Copy link
Copy Markdown
Collaborator

Description

Summary: (summary)

Fix: #(issue)

Docs Issue/PR: (docs-issue-or-pr-link)

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 created related documentation issue/PR in MemOS-Docs (if applicable) | 我已在 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 的人

Comment thread src/memos/llms/factory.py
"vllm": VLLMLLM,
"qwen": QwenLLM,
"deepseek": DeepSeekLLM,
"openai_new": OpenAIResponsesLLM,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe rename later

Comment thread src/memos/llms/openai.py
@timed(log=True, log_prefix="OpenAI LLM")
def generate_stream(self, messages: MessageList, **kwargs) -> Generator[str, None, None]:
"""Stream response from OpenAI LLM with optional reasoning support."""
if kwargs.get("tools"):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why tool calling not supported when using streaming generation?

read_item_i.metadata.memory_type = "OuterMemory"
read_item_i.metadata.sources = [SourceMessage(type="web", url=url)] if url else []
read_item_i.metadata.visibility = "public"
read_item_i.metadata.internet_info = {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

maybe add Internet_info metadata type later

@CaralHsi CaralHsi merged commit 3f87a63 into MemTensor:dev Nov 22, 2025
20 checks passed
tianxing02 pushed a commit to tianxing02/MemOS that referenced this pull request Feb 24, 2026
* new type

* llm reconstruct and add search api modify

* llm construction

* add delete and get, modify chat

* modify code

* modify code

* modify code

* coding chat

* fix bug in get and delete

* add internet reference in playground chat stream

* remove moscube

* modify code

* fix pre_commit

* fix make test

---------

Co-authored-by: yuan.wang <yuan.wang@yuanwangdebijibendiannao.local>
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.

2 participants