Ragai1 commited on
Commit
3236a9a
·
verified ·
1 Parent(s): ab733ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ OMDB_API_KEY = "OMDB_API_KEY"
13
 
14
  @tool
15
  def get_movies_by_mood(mood: str) -> str:
16
- """Suggests up to 5 movies based on the user's mood using OMDb API.
17
 
18
  Args:
19
  mood: a current emotional state or feeling of a user (e.g., 'sad', 'happy', 'romantic')
@@ -81,7 +81,7 @@ with open("prompts.yaml", 'r') as stream:
81
 
82
  agent = CodeAgent(
83
  model=model,
84
- tools=[final_answer, get_current_time_in_timezone, get_movies_by_mood], ## add your tools here (don't remove final answer)
85
  max_steps=6,
86
  verbosity_level=1,
87
  grammar=None,
 
13
 
14
  @tool
15
  def get_movies_by_mood(mood: str) -> str:
16
+ """Suggests up to 5 movies based on the user's mood using OMDB API.
17
 
18
  Args:
19
  mood: a current emotional state or feeling of a user (e.g., 'sad', 'happy', 'romantic')
 
81
 
82
  agent = CodeAgent(
83
  model=model,
84
+ tools=[final_answer, get_current_time_in_timezone, get_movies_by_mood, DuckDuckGoSearchTool], ## add your tools here (don't remove final answer)
85
  max_steps=6,
86
  verbosity_level=1,
87
  grammar=None,