MCPcopy Create free account
hub / github.com/Louisym/MiniCC / __post_init__

Method __post_init__

tutorials/12_session_persistence.py:215–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

213 session_id: str = ""
214
215 def __post_init__(self):
216 if not self.session_id:
217 self.session_id = str(uuid.uuid4())[:12]
218
219 def add_message(self, message: ConversationMessage):
220 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected