Daniel Amendoeira commited on
Commit
9058b37
·
verified ·
1 Parent(s): 7e057ea

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -2
agent.py CHANGED
@@ -10,7 +10,7 @@ from typing import Literal
10
  from langchain_community.tools import BraveSearch # web search
11
  from langchain_experimental.tools.python.tool import PythonAstREPLTool # for logic/math problems
12
 
13
- from tools import (datetime_tools, transcribe_audio_tool)
14
  from prompt import system_prompt
15
 
16
  # gpt-4.1-nano (cheaper for debugging) with temperature 0 for less randomness
@@ -40,7 +40,7 @@ search_tool = BraveSearch.from_api_key(
40
  )
41
 
42
  community_tools = [search_tool, python_tool]
43
- custom_tools = [datetime_tools, transcribe_audio_tool]
44
 
45
  tools = community_tools + custom_tools
46
  llm_with_tools = llm.bind_tools(tools)
 
10
  from langchain_community.tools import BraveSearch # web search
11
  from langchain_experimental.tools.python.tool import PythonAstREPLTool # for logic/math problems
12
 
13
+ from tools import (datetime_tools, transcribe_audio)
14
  from prompt import system_prompt
15
 
16
  # gpt-4.1-nano (cheaper for debugging) with temperature 0 for less randomness
 
40
  )
41
 
42
  community_tools = [search_tool, python_tool]
43
+ custom_tools = [datetime_tools, transcribe_audio]
44
 
45
  tools = community_tools + custom_tools
46
  llm_with_tools = llm.bind_tools(tools)