Set max_steps=15
Browse files
app.py
CHANGED
@@ -119,8 +119,8 @@ max_tokens=2096,
|
|
119 |
temperature=0.5,
|
120 |
#model_id='deepseek-ai/deepseek-coder-7b-instruct-v1.5',# it is possible that this model may be overloaded
|
121 |
#model_id='Qwen/Qwen2.5-Coder-7B-Instruct',
|
122 |
-
|
123 |
-
model_id='Qwen/Qwen2.5-72B-Instruct',
|
124 |
#model_id='deepseek-ai/DeepSeek-R1-Distill-Qwen-32B',
|
125 |
custom_role_conversions=None,
|
126 |
)
|
@@ -135,7 +135,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
135 |
agent = CodeAgent(
|
136 |
model=model,
|
137 |
tools=[fetch_wikipedia_page_content, final_answer, say_hello, image_generation_tool, search_tool, VisitWebpageTool()], ## add your tools here (don't remove final answer)
|
138 |
-
max_steps=
|
139 |
verbosity_level=1,
|
140 |
grammar=None,
|
141 |
planning_interval=None,
|
|
|
119 |
temperature=0.5,
|
120 |
#model_id='deepseek-ai/deepseek-coder-7b-instruct-v1.5',# it is possible that this model may be overloaded
|
121 |
#model_id='Qwen/Qwen2.5-Coder-7B-Instruct',
|
122 |
+
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
123 |
+
#model_id='Qwen/Qwen2.5-72B-Instruct',
|
124 |
#model_id='deepseek-ai/DeepSeek-R1-Distill-Qwen-32B',
|
125 |
custom_role_conversions=None,
|
126 |
)
|
|
|
135 |
agent = CodeAgent(
|
136 |
model=model,
|
137 |
tools=[fetch_wikipedia_page_content, final_answer, say_hello, image_generation_tool, search_tool, VisitWebpageTool()], ## add your tools here (don't remove final answer)
|
138 |
+
max_steps=15,
|
139 |
verbosity_level=1,
|
140 |
grammar=None,
|
141 |
planning_interval=None,
|