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

Method add_message

nanoresearch/feishu_bot.py:149–150  ·  view source on GitHub ↗
(self, role: str, content: str)

Source from the content-addressed store, hash-verified

147 return self._facts
148
149 def add_message(self, role: str, content: str) -> None:
150 self._messages.append({"role": role, "content": content})
151
152 def add_fact(self, fact: str) -> None:
153 fact = fact.strip()

Callers 1

_handle_chat_asyncMethod · 0.80

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected