yetessam commited on
Commit
1be066d
·
verified ·
1 Parent(s): 1c4fc66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -29,10 +29,13 @@ def initialize_agent(endpoint_uri: str):
29
  agent = CodeAgent(
30
  model=model,
31
  tools=combined_tools,
32
- max_steps=6,
33
- verbosity_level=5,
34
  name="content_agent",
35
  description="Evaluates whether text is polite or impolite.",
 
 
 
 
36
  additional_authorized_imports=["pytz"],
37
  stream_outputs=True ,
38
  prompt_templates=load_prompts(),
 
29
  agent = CodeAgent(
30
  model=model,
31
  tools=combined_tools,
32
+
 
33
  name="content_agent",
34
  description="Evaluates whether text is polite or impolite.",
35
+ verbosity_level=5, # max log level for built-in logs
36
+ max_steps=8,
37
+ planning_interval=1, # force a plan every step (shows plan/update)
38
+ max_print_outputs_length=None,
39
  additional_authorized_imports=["pytz"],
40
  stream_outputs=True ,
41
  prompt_templates=load_prompts(),