(msg: str, msg_obj: Optional[Message] = None, chunk_index: Optional[int] = None)
| 80 | |
| 81 | @staticmethod |
| 82 | def internal_monologue(msg: str, msg_obj: Optional[Message] = None, chunk_index: Optional[int] = None): |
| 83 | # ANSI escape code for italic is '\x1B[3m' |
| 84 | fstr = f"\x1B[3m{Fore.LIGHTBLACK_EX}{INNER_THOUGHTS_CLI_SYMBOL} {{msg}}{Style.RESET_ALL}" |
| 85 | if STRIP_UI: |
| 86 | fstr = "{msg}" |
| 87 | print(fstr.format(msg=msg)) |
| 88 | |
| 89 | @staticmethod |
| 90 | def assistant_message(msg: str, msg_obj: Optional[Message] = None): |
no test coverage detected