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


##########
providers/openai/src/airflow/providers/openai/operators/openai.py:
##########
@@ -93,6 +93,9 @@ class OpenAIResponseOperator(BaseOperator):
     :param model: The OpenAI model to use.
     :param response_kwargs: Additional keyword arguments to pass to the OpenAI 
``create_response``
         method (for example ``instructions``, ``tools``, ``conversation`` or 
``previous_response_id``).
+        See :ref:`howto/operator:OpenAIResponseOperator` for the additional 
options this operator

Review Comment:
   Change it to "Do not set `background` or `stream` here" and gives both 
outcomes: `background=True` returns before the response completes so the 
operator logs a warning, `stream=True` returns an object without `status` or 
`output_text` so the task raises `AttributeError`.
   



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