AutoAgent/loop_utils/font_page.py
2025-02-07 21:37:18 +08:00

44 lines
3.1 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from rich.table import Table
from rich.console import Console
from rich.text import Text
from rich.panel import Panel
from rich.style import Style
from rich.console import Console
from rich.box import DOUBLE
from rich.markdown import Markdown
MC_LOGO = """\
███╗ ███╗███████╗████████╗ █████╗ ██████╗██╗ ██╗ █████╗ ██╗███╗ ██╗
████╗ ████║██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║ ██║██╔══██╗██║████╗ ██║
██╔████╔██║█████╗ ██║ ███████║██║ ███████║███████║██║██╔██╗ ██║
██║╚██╔╝██║██╔══╝ ██║ ██╔══██║██║ ██╔══██║██╔══██║██║██║╚██╗██║
██║ ╚═╝ ██║███████╗ ██║ ██║ ██║╚██████╗██║ ██║██║ ██║██║██║ ╚████║
╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝
╔═══ 𝒞𝓇𝑒𝒶𝓉𝑒 𝒜𝑔𝑒𝓃𝓉𝒾𝒸 𝒜 𝓊𝓈𝒾𝓃𝑔 𝒶𝓃𝑔𝓊𝒶𝑔𝑒 ═══╗
""".strip()
version_table = Table(show_header=False, box=DOUBLE, expand=True)
version_table.add_column("Key", style="cyan")
version_table.add_column("Value", style="green")
version_table.add_row("Version", "0.1.0")
version_table.add_row("Author", "MetaChain Team@HKU")
version_table.add_row("License", "MIT")
NOTES = """\
* Choose `user mode` if you just want to let a general yet powerful AI Assistant to help you
* Choose `agent editor` to create your own AI Agent with language.
* Choose `workflow editor` to create your own AI Workflow with language.
* Choose `exit` to exit the program
"""
NOTES = Markdown(NOTES)
GOODBYE_LOGO = """\
███████╗███████╗███████╗ ██╗ ██╗ ██████╗ ██╗ ██╗
██╔════╝██╔════╝██╔════╝ ╚██╗ ██╔╝██╔═══██╗██║ ██║
███████╗█████╗ █████╗ ╚████╔╝ ██║ ██║██║ ██║
╚════██║██╔══╝ ██╔══╝ ╚██╔╝ ██║ ██║██║ ██║
███████║███████╗███████╗ ██║ ╚██████╔╝╚██████╔╝
╚══════╝╚══════╝╚══════╝ ╚═╝ ╚═════╝ ╚═════╝
· 𝓜𝓮𝓽𝓪𝓒𝓱𝓪𝓲𝓷-𝓐𝓘 ·
""".strip()