Lee-W commented on code in PR #73957:
URL: https://github.com/apache/airflow/pull/73957#discussion_r4152887669
##########
providers/common/ai/src/airflow/providers/common/ai/utils/toolset_base.py:
##########
@@ -181,6 +188,18 @@ async def call_tool(
name, self.execute_tool(name, tool_args, ctx=ctx, tool=tool),
count_as=type(self).__name__
)
+ #: A subclass that takes ``max_retries`` stores it here; ``None`` follows
the run.
+ _max_retries: int | None = None
+
+ def _tool_max_retries(self, ctx: RunContext[Any]) -> int:
Review Comment:
```suggestion
def _get_tool_max_retries(self, ctx: RunContext[Any]) -> int:
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]