MCPcopy Create free account
hub / github.com/THUDM/AgentBench / ColorMessage

Class ColorMessage

src/utils/others.py:55–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54
55class ColorMessage:
56 @staticmethod
57 def red(msg):
58 return "\033[91m" + msg + "\033[0m"
59
60 @staticmethod
61 def green(msg):
62 return "\033[92m" + msg + "\033[0m"
63
64 @staticmethod
65 def cyan(msg):
66 return "\033[96m" + msg + "\033[0m"
67
68 @staticmethod
69 def yellow(msg):
70 return "\033[93m" + msg + "\033[0m"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected