From e26a026e0cc38f74a2d3652d71622ea256018667 Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Mon, 22 Jun 2026 11:38:05 +0700 Subject: [PATCH] New ASCII Art --- tui/agent.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tui/agent.py b/tui/agent.py index 72ccb31..0fd18ac 100644 --- a/tui/agent.py +++ b/tui/agent.py @@ -4,7 +4,6 @@ from datetime import datetime import config from scripts import ntro - def _add_msg(app, role, content, **kwargs): msg = {"role": role, "content": content} msg.update(kwargs) @@ -15,6 +14,14 @@ def _add_msg(app, role, content, **kwargs): ) WELCOME_ART = """ +,--. ,--.,------.,--. ,--.,------. ,------. ,--.,--. ,--. +| '--' || .---'| ,'.| || .-. \\ | .--. '| || .' / +| .--. || `--, | |' ' || | \\ :| '--'.'| || . ' +| | | || `---.| | ` || '--' /| |\\ \\ | || |\\ \\ +`--' `--'`------'`--' `--'`-------' `--' '--'`--'`--' '--' + +""" +""" __ __ _______ __ _ ______ ______ ___ ___ _ | | | || || | | || | | _ | | | | | | | | |_| || ___|| |_| || _ || | || | | | |_| | @@ -35,7 +42,6 @@ WELCOME_ART = """ ╚══════════════════════════════════════════╝ """ - def log(app, role, text): app.log.append({ "role": role, @@ -169,7 +175,6 @@ def execute_tool(app, tool_call): tname = tool_call["function"]["name"] targs = json.loads(tool_call["function"]["arguments"]) handler = app.TOOL_HANDLERS.get(tname) - if not handler: result = f"Tool {tname} not found" else: