Skip to content

Commit d847b55

Browse files
committed
add max_steps
1 parent 5bba31d commit d847b55

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

app.py

-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ async def run_task(task_id: str, prompt: str):
110110
agent = Manus(
111111
name="Manus",
112112
description="A versatile agent that can solve various tasks using multiple tools",
113-
max_steps=30,
114113
)
115114

116115
async def on_think(thought):

app/agent/manus.py

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class Manus(ToolCallAgent):
2727
next_step_prompt: str = NEXT_STEP_PROMPT
2828

2929
max_observe: int = 2000
30+
max_steps: int = 20
3031

3132
# Add general-purpose tools to the tool collection
3233
available_tools: ToolCollection = Field(

0 commit comments

Comments
 (0)