Skip to content

【BUG】MOSCore TextualMemoryMetadata user_id set error #86

@ioo0s

Description

@ioo0s

System Info

Description

In the same way as the addition of tree_text·, when adding general memory here, target_user_id should also be used.

# MOSCore.add()
 metadata = TextualMemoryMetadata(
    user_id=self.user_id, session_id=self.session_id, source="conversation"
)

fixed:

# MOSCore.add()
 metadata = TextualMemoryMetadata(
    user_id=target_user_id, session_id=self.session_id, source="conversation"
 )

Reproduction

Put your message here.

Others

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpendingPending items to be addressed | 待解决事项。staleA stale issue/PR indicates a long period of inactivity. | 一个长期未更新的issue/PR。

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions