MCPcopy Create free account
hub / github.com/ValueCell-ai/valuecell / SaveItem

Class SaveItem

python/valuecell/core/event/buffer.py:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22@dataclass
23class SaveItem:
24 item_id: str
25 event: object # ConversationItemEvent union; keep generic to avoid circular typing
26 conversation_id: str
27 thread_id: Optional[str]
28 task_id: Optional[str]
29 payload: Optional[ResponsePayload]
30 role: Role = Role.AGENT
31 agent_name: Optional[str] = None
32 metadata: Optional[ResponseMetadata] = None
33
34
35# conversation_id, thread_id, task_id, event

Callers 5

ingestMethod · 0.90
flush_taskMethod · 0.90
_finalize_keysMethod · 0.85
_make_save_itemMethod · 0.85

Calls

no outgoing calls

Tested by 2

ingestMethod · 0.72
flush_taskMethod · 0.72