From 4dadb7e2fa55397ae9d499bf566d0c9e8d8bc653 Mon Sep 17 00:00:00 2001 From: marko-kraemer Date: Sat, 2 Nov 2024 02:54:36 +0100 Subject: [PATCH] wip --- README.md | 2 +- core/cli.py | 14 ++++++-------- core/{ui.py => thread_viewer_ui.py} | 0 pyproject.toml | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) rename core/{ui.py => thread_viewer_ui.py} (100%) diff --git a/README.md b/README.md index 46ef72b4..520e6a61 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ You can find the complete implementation in our [example-agent](agentpress/examp Run the thread viewer to view messages of threads in a stylisedweb UI: ```bash -streamlit run agentpress/ui.py +streamlit run agentpress/thread_viewer_ui.py ``` ## Development diff --git a/core/cli.py b/core/cli.py index 54ae8637..93b7a7e1 100644 --- a/core/cli.py +++ b/core/cli.py @@ -75,7 +75,7 @@ def copy_example_files(src_dir: str, dest_dir: str, files: Dict[str, str]): @click.group() def cli(): - """AgentPress CLI - Initialize your project with AgentPress modules""" + """AgentPress CLI - Initialize your AgentPress modules""" pass @cli.command() @@ -126,7 +126,7 @@ def init(): # Create selections dict with required modules pre-selected selections = {name: True for name in required_modules.keys()} - click.echo("\n๐Ÿš€ Setting up your project...") + click.echo("\n๐Ÿš€ Setting up your AgentPress...") time.sleep(0.5) try: @@ -151,16 +151,14 @@ def init(): # Create workspace directory os.makedirs(os.path.join(os.getcwd(), "workspace"), exist_ok=True) - click.echo("\nโœจ Success! Your AgentPress project is ready.") + click.echo("\nโœจ Success! Your AgentPress is ready.") click.echo(f"\n๐Ÿ“ Components created in: {click.style(components_dir_path, fg='green')}") if selected_example and selected_example in STARTER_EXAMPLES: click.echo(f"๐Ÿ“ Example agent files created in the current directory.") - click.echo("\n๐Ÿ”ฅ Quick start:") - - click.echo("\n๐Ÿ“šImport agentpress components in your code:") - click.echo(f" from {components_dir}.llm import make_llm_api_call") - click.echo(f" from {components_dir}.thread_manager import ThreadManager") + click.echo("\n๐Ÿ”ฅ Quick start:") + click.echo("Check out the Quick Start guide at:") + click.echo("https://github.com/kortix-ai/agentpress#quick-start") if selected_example: click.echo(f"\nRun the example agent:") diff --git a/core/ui.py b/core/thread_viewer_ui.py similarity index 100% rename from core/ui.py rename to core/thread_viewer_ui.py diff --git a/pyproject.toml b/pyproject.toml index 383a6fb4..dafd0acb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ ] [tool.poetry.dependencies] -python = "^3.12" +python = "^3.9" streamlit-quill = "^0.0.3" python-dotenv = "^1.0.1" litellm = "^1.44.4"