This commit is contained in:
marko-kraemer 2024-11-02 02:54:36 +01:00
parent 1e642b4459
commit 4dadb7e2fa
4 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -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:")

View File

@ -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"