GoldsWolf commited on
Commit
b7680f0
·
verified ·
1 Parent(s): 21209b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ from Gradio_UI import GradioUI
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
13
- def my_custom_tool(arg1: str, arg2: int) -> str:
14
  """ChronoOraculum – A sci-fi fortune device that deciphers timelines
15
  Args:
16
  arg1: your galactic designation (e.g., "Captain Nova" or "XJ-42")
@@ -66,7 +66,7 @@ with open("prompts.yaml", 'r') as stream:
66
 
67
  agent = CodeAgent(
68
  model=model,
69
- tools=[my_custom_tool,final_answer], ## add your tools here (don't remove final answer)
70
  max_steps=6,
71
  verbosity_level=1,
72
  grammar=None,
 
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
13
+ def fortune_device(arg1: str, arg2: int) -> str:
14
  """ChronoOraculum – A sci-fi fortune device that deciphers timelines
15
  Args:
16
  arg1: your galactic designation (e.g., "Captain Nova" or "XJ-42")
 
66
 
67
  agent = CodeAgent(
68
  model=model,
69
+ tools=[fortune_device,final_answer], ## add your tools here (don't remove final answer)
70
  max_steps=6,
71
  verbosity_level=1,
72
  grammar=None,