bstraehle commited on
Commit
29fc519
·
verified ·
1 Parent(s): d0e1821

Update agents/tools/ai_tools.py

Browse files
Files changed (1) hide show
  1. agents/tools/ai_tools.py +2 -2
agents/tools/ai_tools.py CHANGED
@@ -69,9 +69,9 @@ class AITools():
69
  )
70
  )
71
 
 
72
  print(f"🤖 Result: {result}")
73
-
74
- return response.text.strip()
75
  except Exception as e:
76
  raise RuntimeError(f"Processing failed: {str(e)}")
77
 
 
69
  )
70
  )
71
 
72
+ result = response.text.strip()
73
  print(f"🤖 Result: {result}")
74
+ return result
 
75
  except Exception as e:
76
  raise RuntimeError(f"Processing failed: {str(e)}")
77