MCPcopy Create free account
hub / github.com/OpenRaiser/NanoResearch / needs_condensation

Method needs_condensation

nanoresearch/feishu_bot.py:159–160  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

157 self._facts = self._facts[-50:]
158
159 def needs_condensation(self) -> bool:
160 return len(self._messages) > self.MAX_MESSAGES
161
162 def condense(self, new_summary: str) -> None:
163 self._summary = new_summary

Callers 1

_handle_chat_asyncMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected