We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e01a99 commit a327162Copy full SHA for a327162
pandasai/agent/base.py
@@ -175,6 +175,7 @@ def generate_code_with_retries(self, query: str) -> Any:
175
self._state.logger.log(
176
f"Retrying Code Generation ({attempts}/{max_retries})..."
177
)
178
+ return None
179
180
def execute_with_retries(self, code: str) -> Any:
181
"""Execute the code with retry logic."""
@@ -194,6 +195,7 @@ def execute_with_retries(self, code: str) -> Any:
194
195
f"Retrying execution ({attempts}/{max_retries})..."
196
197
code = self._regenerate_code_after_error(code, e)
198
199
200
def train(
201
self,
0 commit comments