Skip to content

Commit

Permalink
fix mathproxyagent bug (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiranwu0 authored Jul 13, 2023
1 parent 3527e8a commit ac7c413
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flaml/autogen/agent/math_user_proxy_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ def auto_reply(self, message, sender, default_reply=""):
output, is_success = self._execute_one_python_code(code)
elif lang == "wolfram":
output, is_success = self._execute_one_wolfram_query(code)
else:
output = "Error: Unknown language."
is_success = False

reply += output + "\n"
if not is_success:
Expand Down

0 comments on commit ac7c413

Please sign in to comment.