From a2de38462b9299d557165dc342c9c81892d5cad0 Mon Sep 17 00:00:00 2001 From: you-n-g Date: Mon, 15 Jul 2024 11:58:36 +0800 Subject: [PATCH] Update rdagent/scenarios/qlib/task_generator/feedback.py --- rdagent/scenarios/qlib/task_generator/feedback.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rdagent/scenarios/qlib/task_generator/feedback.py b/rdagent/scenarios/qlib/task_generator/feedback.py index c6dd5745..a18145ed 100644 --- a/rdagent/scenarios/qlib/task_generator/feedback.py +++ b/rdagent/scenarios/qlib/task_generator/feedback.py @@ -78,6 +78,7 @@ class QlibModelHypothesisExperiment2Feedback(HypothesisExperiment2Feedback): return hypothesis_feedback except json.JSONDecodeError as e: + # TODO: (Xiao) I think raising a specific type of ERROR to make caller know sth bad has happend would be more reasonable print("Error parsing JSON response from LLM for hypothesis feedback:", e) except Exception as e: print("An unexpected error occurred while generating hypothesis feedback:", e)