"What are the best properties in Menlo Park, CA for rent under 3,000$?"
f"Create a report on the best properties in Menlo Park, CA, showcase, the name, description, price, and link to the property: {get_realtor_data_from_one_source('Menlo Park, CA')}"
f"Error detected running your agent {self.agent_name}\n Error {error}\n Optimize your input parameters and or add an issue on the swarms github and contact our team on discord for support ;) "
# Get detailed error information
error_type=type(error).__name__
error_message=str(error)
traceback_info=traceback.format_exc()
logger.error(
f"Error detected running your agent {self.agent_name}\n"
f"Error Type: {error_type}\n"
f"Error Message: {error_message}\n"
f"Traceback:\n{traceback_info}\n"
f"Agent State: {self.to_dict()}\n"
f"Optimize your input parameters and or add an issue on the swarms github and contact our team on discord for support ;)"
)
raiseerror
def_handle_run_error(self,error:any):
@ -2952,7 +2980,8 @@ class Agent:
# Fallback: provide a default summary
summary="I successfully executed the MCP tool and retrieved the information above."