mirror of https://github.com/kortix-ai/suna.git
wip
This commit is contained in:
parent
7341c31e2a
commit
0b6a9d09c2
|
@ -0,0 +1,17 @@
|
||||||
|
# Include all Python files in agentpress directory
|
||||||
|
recursive-include agentpress *.py
|
||||||
|
|
||||||
|
# Include example files
|
||||||
|
recursive-include agentpress/examples *
|
||||||
|
|
||||||
|
# Include any other necessary files
|
||||||
|
include LICENSE
|
||||||
|
include README.md
|
||||||
|
include pyproject.toml
|
||||||
|
|
||||||
|
# Exclude unnecessary files
|
||||||
|
global-exclude *.pyc
|
||||||
|
global-exclude __pycache__
|
||||||
|
global-exclude .DS_Store
|
||||||
|
global-exclude *.pyo
|
||||||
|
global-exclude *.pyd
|
|
@ -157,18 +157,16 @@ def init():
|
||||||
click.echo(f"📁 Example agent files created in the current directory.")
|
click.echo(f"📁 Example agent files created in the current directory.")
|
||||||
|
|
||||||
click.echo("\n🔥 Quick start:")
|
click.echo("\n🔥 Quick start:")
|
||||||
click.echo("1. Create and activate a virtual environment:")
|
|
||||||
click.echo(" python -m venv venv")
|
|
||||||
click.echo(" source venv/bin/activate # On Windows: .\\venv\\Scripts\\activate")
|
|
||||||
|
|
||||||
if selected_example:
|
click.echo("\n📚Import agentpress components in your code:")
|
||||||
click.echo(f"\n2. Run the example agent:")
|
|
||||||
click.echo(" python agent.py")
|
|
||||||
|
|
||||||
click.echo("\n📚 Import components in your code:")
|
|
||||||
click.echo(f" from {components_dir}.llm import make_llm_api_call")
|
click.echo(f" from {components_dir}.llm import make_llm_api_call")
|
||||||
click.echo(f" from {components_dir}.thread_manager import ThreadManager")
|
click.echo(f" from {components_dir}.thread_manager import ThreadManager")
|
||||||
|
|
||||||
|
if selected_example:
|
||||||
|
click.echo(f"\nRun the example agent:")
|
||||||
|
click.echo(" python agent.py")
|
||||||
|
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
click.echo(f"\n❌ Error during setup: {str(e)}", err=True)
|
click.echo(f"\n❌ Error during setup: {str(e)}", err=True)
|
||||||
return
|
return
|
||||||
|
|
|
@ -4,9 +4,6 @@ version = "0.1.2"
|
||||||
description = "Building blocks for AI Agents"
|
description = "Building blocks for AI Agents"
|
||||||
authors = ["marko-kraemer <mail@markokraemer.com>"]
|
authors = ["marko-kraemer <mail@markokraemer.com>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
packages = [
|
|
||||||
{ include = "agentpress" },
|
|
||||||
]
|
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
homepage = "https://github.com/kortix-ai/agentpress"
|
homepage = "https://github.com/kortix-ai/agentpress"
|
||||||
repository = "https://github.com/kortix-ai/agentpress"
|
repository = "https://github.com/kortix-ai/agentpress"
|
||||||
|
|
Loading…
Reference in New Issue