Spaces:
Sleeping
Sleeping
Commit
·
0752323
1
Parent(s):
45effb9
update max step for gemini constraint
Browse files- streamlit_app.py +1 -1
streamlit_app.py
CHANGED
@@ -145,7 +145,7 @@ def initialize_agent(model_type="openai_server", model_config=None):
|
|
145 |
# CreateFileTool(), # Allows creation of new files
|
146 |
# ModifyFileTool() # Enables modification of existing files
|
147 |
],
|
148 |
-
max_steps=
|
149 |
verbosity_level=1, # Level of detail in agent's output
|
150 |
grammar=None, # Optional grammar for structured output
|
151 |
planning_interval=None, # How often to re-plan (None = no explicit planning)
|
|
|
145 |
# CreateFileTool(), # Allows creation of new files
|
146 |
# ModifyFileTool() # Enables modification of existing files
|
147 |
],
|
148 |
+
max_steps=5, # Maximum number of reasoning steps
|
149 |
verbosity_level=1, # Level of detail in agent's output
|
150 |
grammar=None, # Optional grammar for structured output
|
151 |
planning_interval=None, # How often to re-plan (None = no explicit planning)
|