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

Method print_function_message

methods/letta/interface.py:165–169  ·  view source on GitHub ↗
(icon, msg, color=Fore.RED, printf=print)

Source from the content-addressed store, hash-verified

163 @staticmethod
164 def function_message(msg: str, msg_obj: Optional[Message] = None, debug: bool = DEBUG, chunk_index: Optional[int] = None):
165 def print_function_message(icon, msg, color=Fore.RED, printf=print):
166 if STRIP_UI:
167 printf(f"⚡{icon} [function] {msg}")
168 else:
169 printf(f"{color}{Style.BRIGHT}⚡{icon} [function] {color}{msg}{Style.RESET_ALL}")
170
171 def printd_function_message(icon, msg, color=Fore.RED):
172 return print_function_message(icon, msg, color, printf=(print if debug else printd))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected