Skip to content

Commit d5d95d5

Browse files
committed
fix bad ref
1 parent de0c352 commit d5d95d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

agixtsdk/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
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",

0 commit comments

Comments
 (0)