File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1717,8 +1717,9 @@ def convert_to_model(
17171717 self .failures += 1
17181718 if self .failures > max_failures :
17191719 print (
1720- f"Error: { e } . Failed to convert the response to the model after 3 attempts. Response: { response } "
1720+ f"Error: { e } . Failed to convert the response to the model after { max_failures } attempts. Response: { response } "
17211721 )
1722+ self .failures = 0
17221723 return (
17231724 response
17241725 if response
@@ -1734,7 +1735,6 @@ def convert_to_model(
17341735 model = model ,
17351736 agent_name = agent_name ,
17361737 max_failures = max_failures ,
1737- failures = self .failures ,
17381738 )
17391739
17401740 def convert_list_of_dicts (
Original file line number Diff line number Diff line change 88
99setup (
1010 name = "agixtsdk" ,
11- version = "0.0.60 " ,
11+ version = "0.0.61 " ,
1212 description = "The AGiXT SDK for Python." ,
1313 long_description = long_description ,
1414 long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments