recursion if failed fixed
This commit is contained in:
@@ -54,7 +54,7 @@ LLM answer:
|
|||||||
else: raise Exception(f"rate tool retured {ret_str}")
|
else: raise Exception(f"rate tool retured {ret_str}")
|
||||||
except IndexError as e:
|
except IndexError as e:
|
||||||
print(f"\033[0;31mValidation Error \033[0mof {test.name} <{ai_msg.content[:20]}...> Retrying...")
|
print(f"\033[0;31mValidation Error \033[0mof {test.name} <{ai_msg.content[:20]}...> Retrying...")
|
||||||
return system_human_answer_match(test=test, answer=answer)
|
return system_human_answer_match(test=test, answer=answer, base_url=base_url)
|
||||||
|
|
||||||
from re import search
|
from re import search
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user