Lee-W commented on code in PR #69887:
URL: https://github.com/apache/airflow/pull/69887#discussion_r3586374998
##########
providers/common/ai/src/airflow/providers/common/ai/example_dags/example_agent_capabilities.py:
##########
@@ -117,3 +122,32 @@ def example_agent_capabilities_composed():
# [END howto_operator_agent_capabilities_composed]
example_agent_capabilities_composed()
+
+
+# ---------------------------------------------------------------------------
+# 4. Input guardrails: reject unsafe input before the agent run starts
+# ---------------------------------------------------------------------------
+
+
+# [START howto_operator_agent_capabilities_input_guard]
+if InputGuard is not None:
Review Comment:
I feel we should mention the verison in doc and remove this `if InputGuard
is not None` check from rendered section
--
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]