MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / assistant_message

Method assistant_message

methods/letta/interface.py:90–94  ·  view source on GitHub ↗
(msg: str, msg_obj: Optional[Message] = None)

Source from the content-addressed store, hash-verified

88
89 @staticmethod
90 def assistant_message(msg: str, msg_obj: Optional[Message] = None):
91 fstr = f"{Fore.YELLOW}{Style.BRIGHT}{ASSISTANT_MESSAGE_CLI_SYMBOL} {Fore.YELLOW}{{msg}}{Style.RESET_ALL}"
92 if STRIP_UI:
93 fstr = "{msg}"
94 print(fstr.format(msg=msg))
95
96 @staticmethod
97 def memory_message(msg: str, msg_obj: Optional[Message] = None):

Callers 2

print_messagesMethod · 0.45
print_messages_simpleMethod · 0.45

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected