OppaAI commited on
Commit
0ec55c6
·
verified ·
1 Parent(s): cebdf97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -32,9 +32,8 @@ agent = Agent(
32
  async def chat_with_agent(user_input, history):
33
  history = history or []
34
  result = await agent.run(user_input)
35
- cleaned_output = re.sub(r"<think>.*?</think>", "", result.output, flags=re.DOTALL).strip()
36
  history.append(("User", user_input))
37
- history.append(("Jobcy", cleaned_output))
38
  return history, history
39
 
40
  async def main():
 
32
  async def chat_with_agent(user_input, history):
33
  history = history or []
34
  result = await agent.run(user_input)
 
35
  history.append(("User", user_input))
36
+ history.append(("Jobcy", result))
37
  return history, history
38
 
39
  async def main():