mralamdari commited on
Commit
f5f4e08
·
verified ·
1 Parent(s): 3839e3f

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +3 -3
agent.py CHANGED
@@ -197,9 +197,9 @@ class GaiaAgentState(TypedDict):
197
 
198
  def input_parser(state: GaiaAgentState) -> dict:
199
  return {
200
- "question": state.raw_payload["question"],
201
- "files": state.raw_payload.get("files", []),
202
- "level": state.raw_payload.get("level", 1)
203
  }
204
 
205
  # === 2. TOOL STUBS ===
 
197
 
198
  def input_parser(state: GaiaAgentState) -> dict:
199
  return {
200
+ "question": state["question"],
201
+ "files": state.get("files", []),
202
+ "level": state.get("level", 1)
203
  }
204
 
205
  # === 2. TOOL STUBS ===