Spaces:
Running
Running
File size: 444 Bytes
372531f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
from colorama import Fore, Style
from enum import Enum
class AgentColor(Enum):
RESEARCHER = Fore.LIGHTBLUE_EX
EDITOR = Fore.YELLOW
WRITER = Fore.LIGHTGREEN_EX
PUBLISHER = Fore.MAGENTA
REVIEWER = Fore.CYAN
REVISOR = Fore.LIGHTWHITE_EX
MASTER = Fore.LIGHTYELLOW_EX
def print_agent_output(output:str, agent: str="RESEARCHER"):
print(f"{AgentColor[agent].value}{agent}: {output}{Style.RESET_ALL}") |