feat : slight improvement for planner & web agent

This commit is contained in:
martin legrand
2025-04-06 14:50:19 +02:00
parent 42f9485a39
commit 26e9dbcd40
7 changed files with 23 additions and 20 deletions
+2 -2
View File
@@ -344,8 +344,8 @@ class AgentRouter:
return "HIGH"
elif complexity == "LOW":
return "LOW"
pretty_print(f"Failed to estimate the complexity of the text. Confidence: {confidence}", color="failure")
return None
pretty_print(f"Failed to estimate the complexity of the text.", color="failure")
return "LOW"
def find_planner_agent(self) -> Agent:
"""