ekkasilina commited on
Commit
b0787de
·
1 Parent(s): 2922452

added reverse tools

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -34,18 +34,17 @@ analyst = CodeAgent(
34
  model=openai_41mini_model,
35
  tools=[reverse_text],
36
  add_base_tools=False,
37
- system_prompt=(
38
- "You are the Analyst, skilled at decoding mysterious or reversed text. "
39
  "When given a message, use your tools to reveal its correct form."
40
- )
41
  )
42
  historian = ToolCallingAgent(
43
  model=openai_41mini_model,
44
  add_base_tools=False,
45
- system_prompt=(
46
- "You are the Historian. If a message seems written backward, consult the Analyst to decode it. "
47
  "Otherwise, answer directly in clear language."
48
- )
49
  )
50
 
51
  universal_agent = CodeAgent(
 
34
  model=openai_41mini_model,
35
  tools=[reverse_text],
36
  add_base_tools=False,
37
+ name="analyst",
38
+ description="You are the Analyst, skilled at decoding mysterious or reversed text. "
39
  "When given a message, use your tools to reveal its correct form."
 
40
  )
41
  historian = ToolCallingAgent(
42
  model=openai_41mini_model,
43
  add_base_tools=False,
44
+ name="historian",
45
+ description="You are the Historian. If a message seems written backward, consult the Analyst to decode it. "
46
  "Otherwise, answer directly in clear language."
47
+
48
  )
49
 
50
  universal_agent = CodeAgent(