mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
Merge pull request #50 from Plaud-AI/fix_mem_category
fix: 修复mem返回schema
This commit is contained in:
commit
02370ccbf6
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class MemoryResponse(BaseModel):
|
|||
"""记忆响应"""
|
||||
id: str = Field(..., description="记忆 ID")
|
||||
agent_id: str = Field(..., description="记忆所属的 Agent ID")
|
||||
type: Literal["profile", "event"] = Field(..., description="记忆类型")
|
||||
type: str = Field(..., description="记忆类型(透传 MemU 返回的 category)")
|
||||
title: Optional[str] = Field(None, description="标题")
|
||||
content: str = Field(..., description="记忆内容")
|
||||
created_at: datetime = Field(..., description="创建时间")
|
||||
|
|
|
|||
Loading…
Reference in a new issue