Mohammad Haghir commited on
Commit
1e760d4
·
1 Parent(s): 2f7b616
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -26,10 +26,10 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
26
  groq_api_key = os.getenv("GROQ_API_KEY")
27
  tools = [wiki_ret, arxiv_ret, tavily_ret, handle_file_tool, add, subtract, division, multiplication, mode]
28
  llm = ChatGroq(api_key=groq_api_key, model="qwen-qwq-32b")
29
- llm_with_tools = llm.bind_tools(tools)
30
- class GraphState(TypedDict):
31
- messages: str #Annotated[Dict, operator.add]
32
- context: str
33
 
34
  # --- Basic Agent Definition ---
35
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
 
26
  groq_api_key = os.getenv("GROQ_API_KEY")
27
  tools = [wiki_ret, arxiv_ret, tavily_ret, handle_file_tool, add, subtract, division, multiplication, mode]
28
  llm = ChatGroq(api_key=groq_api_key, model="qwen-qwq-32b")
29
+ # llm_with_tools = llm.bind_tools(tools)
30
+ # class GraphState(TypedDict):
31
+ # messages: str #Annotated[Dict, operator.add]
32
+ # context: str
33
 
34
  # --- Basic Agent Definition ---
35
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------