diff --git a/phone_agent/actions/handler.py b/phone_agent/actions/handler.py index 0bef1c3a..b3f487cc 100644 --- a/phone_agent/actions/handler.py +++ b/phone_agent/actions/handler.py @@ -358,6 +358,8 @@ def parse_action(response: str) -> dict[str, Any]: response = response.replace('\n', '\\n') response = response.replace('\r', '\\r') response = response.replace('\t', '\\t') + response = response.replace("", "") + response = response.replace("", "") tree = ast.parse(response, mode="eval") if not isinstance(tree.body, ast.Call):