Antoine101 commited on
Commit
b8c79b2
·
verified ·
1 Parent(s): b2765c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -10,7 +10,10 @@ from tools import *
10
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
11
 
12
  # --- Basic Agent Definition ---
13
- # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
 
 
 
14
 
15
  def assistant(state: AgentState):
16
  return {
 
10
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
11
 
12
  # --- Basic Agent Definition ---
13
+
14
+ # Generate the AgentState and Agent graph
15
+ class AgentState(TypedDict):
16
+ messages: Annotated[list[AnyMessage], add_messages]
17
 
18
  def assistant(state: AgentState):
19
  return {