Lee-W commented on code in PR #72786:
URL: https://github.com/apache/airflow/pull/72786#discussion_r4216975693


##########
providers/common/ai/src/airflow/providers/common/ai/toolsets/managed_agent.py:
##########
@@ -245,6 +245,10 @@ def _resolve_agent_ref(self) -> ManagedAgentRef | None:
         """Resolve identity for a log line or a metric tag without letting 
resolution fail the call."""
         try:
             return self.agent_ref
+        except ModelRetry:

Review Comment:
   Yep, `agent_ref` never raises `ModelRetry` (only `invoke_sync` does). 
Removed the branch. Thanks!



-- 
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]

Reply via email to