phanikumv commented on code in PR #77071:
URL: https://github.com/apache/airflow/pull/77071#discussion_r4639591369


##########
providers/common/ai/src/airflow/providers/common/ai/example_dags/example_openai_agents_agent.py:
##########
@@ -27,10 +27,11 @@
 
 Before running:
 
-1. Install the SDK: ``pip install "openai-agents>=0.20.0"``.
-2. Create a connection (``LLM_CONN_ID``, default ``openai_default``) whose 
password is
-   an OpenAI API key. Set its host to the base URL of any other 
OpenAI-compatible
-   endpoint, such as a gateway or a self-hosted server.
+1. Install the SDK and the OpenAI provider:
+   ``pip install "openai-agents>=0.20.0" 
"apache-airflow-providers-openai>=2.2.0"``.

Review Comment:
   Nit: the task is `async` now, which needs Airflow 3.2.1+, while common.ai 
still supports 2.11. The guide says so, but this "Before running" list doesn't, 
and neither do the durable and data-access ones. These files ship in the wheel. 
Could you add a step such as "Use Airflow 3.2.1 or later: the task is async."?



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