Files
MemoryBear/api/app/schemas/memory_agent_schema.py
乐力齐 b6e6dbf27f Fix/memory interface (#169)
* [changes]《Modify the interface》
1.Remove the "/search/entity_graph" interface
2.Reconstruct the "/updated_end_user/profile" interface
3.Remove the "Update Username" interface
4.Fix the batch query of user association memory configuration

* [changes]《Modify the interface》
1.Remove the "/search/entity_graph" interface
2.Reconstruct the "/updated_end_user/profile" interface
3.Remove the "Update Username" interface
4.Fix the batch query of user association memory configuration

* [fix]Fix the error response type
2026-01-21 18:20:28 +08:00

18 lines
323 B
Python

from typing import Optional
from pydantic import BaseModel
class UserInput(BaseModel):
message: str
history: list[dict]
search_switch: str
group_id: str
config_id: Optional[str] = None
class Write_UserInput(BaseModel):
messages: list[dict]
group_id: str
config_id: Optional[str] = None