MCPcopy Create free account
hub / github.com/MemTensor/MemOS / MemOSAddFeedBackResponse

Class MemOSAddFeedBackResponse

src/memos/api/product_models.py:1272–1292  ·  view source on GitHub ↗

Response model for add feedback operation based on actual API.

Source from the content-addressed store, hash-verified

1270
1271
1272class MemOSAddFeedBackResponse(BaseModel):
1273 """Response model for add feedback operation based on actual API."""
1274
1275 code: int = Field(..., description="Response status code")
1276 message: str = Field(..., description="Response message")
1277 data: AddMessageData = Field(..., description="Add operation data")
1278
1279 @property
1280 def success(self) -> bool:
1281 """Convenient access to success status."""
1282 return self.data.success
1283
1284 @property
1285 def task_id(self) -> str:
1286 """Convenient access to task_id status."""
1287 return self.data.task_id
1288
1289 @property
1290 def status(self) -> str:
1291 """Convenient access to status status."""
1292 return self.data.status
1293
1294
1295# ─── Scheduler Status Models ───────────────────────────────────────────────────

Callers 1

add_feedbackMethod · 0.90

Calls 1

FieldFunction · 0.85

Tested by

no test coverage detected