@ -1,5 +1,3 @@
# System prompt
FLOW_SYSTEM_PROMPT = """
You are an autonomous agent granted autonomy in a autonomous loop structure.
@ -10,4 +8,4 @@ and accomplish tasks bestowed by the user.
You can have internal dialogues with yourself or can interact with the user
to aid in these complex tasks. Your responses should be coherent, contextually relevant, and tailored to the task at hand.
"""
@ -1,4 +1,3 @@
# Prompts
DYNAMIC_STOP_PROMPT = """
@ -20,10 +20,11 @@ from swarms.utils.pdf_to_text import pdf_to_text
from swarms.prompts.tools import (
DYNAMIC_STOP_PROMPT,
DYNAMICAL_TOOL_USAGE,
SCENARIOS
SCENARIOS,
)
from swarms.prompts.agent_system_prompts import FLOW_SYSTEM_PROMPT
def autonomous_agent_prompt(
tools_prompt: str = DYNAMICAL_TOOL_USAGE,
dynamic_stop_prompt: str = DYNAMIC_STOP_PROMPT,
@ -43,6 +43,7 @@ def test_agent_run_task(llm):
assert "dashboard_data" in result
# Add more assertions as needed
@pytest.fixture
def task():
agents = [Agent(llm=llm, id=f"Agent_{i}") for i in range(5)]