naman1102 commited on
Commit
37188c1
Β·
1 Parent(s): 801749c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ compiled_graph = graph.compile()
221
 
222
  # ─────────────────────────── Public API ────────────────────────────────
223
 
224
- def answer(question: str, *, task_id: Optional[str] = None) -> str:
225
  """Run the agent and return whatever FINAL_ANSWER the graph produces."""
226
  init_state = AgentState(question, task_id)
227
  init_state.add(SystemMessage(content="You are a helpful assistant."))
 
221
 
222
  # ─────────────────────────── Public API ────────────────────────────────
223
 
224
+ def answer(question: str, task_id: Optional[str] = None) -> str:
225
  """Run the agent and return whatever FINAL_ANSWER the graph produces."""
226
  init_state = AgentState(question, task_id)
227
  init_state.add(SystemMessage(content="You are a helpful assistant."))