bstraehle commited on
Commit
b178f11
·
verified ·
1 Parent(s): 43f6cfc

Update agents/tools/ai_tools.py

Browse files
Files changed (1) hide show
  1. agents/tools/ai_tools.py +1 -1
agents/tools/ai_tools.py CHANGED
@@ -535,7 +535,7 @@ class AITools():
535
  )
536
  )
537
 
538
- result = response.text
539
  print(f"🛠️ AITools: final_answer_tool: result={result}")
540
  return result
541
  except Exception as e:
 
535
  )
536
  )
537
 
538
+ result = response.text.strip()
539
  print(f"🛠️ AITools: final_answer_tool: result={result}")
540
  return result
541
  except Exception as e: