fix error (#594)

This commit is contained in:
Tim
2025-02-13 19:34:49 +08:00
committed by GitHub
parent b7be0f35f8
commit 4d8e334ef8
@@ -218,7 +218,7 @@ class DSExpGen(ExpGen):
)
): # Assumption: when completing missing component, using component name as task name
resp_dict["description"] = (
str(resp_dict.get("description"), "")
str(resp_dict.get("description", ""))
+ f"\n\nYou have tried to implement the same component and got the following exception: \n{exp_and_feedback[1].exception}\n Please try different methods to avoid the same errors and results in an infinite loop"
)