You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Lee-W (via GitHub)" <gi...@apache.org> on 2026/09/15 12:52:23 UTC

Re: [PR] Make OpenAI batch options reachable from OpenAITriggerBatchOperator [airflow]

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


##########
providers/openai/src/airflow/providers/openai/hooks/openai.py:
##########
@@ -619,21 +619,26 @@ def delete_vector_store_file(self, vector_store_id: str, file_id: str) -> Vector
     def create_batch(

Review Comment:
   `create_batch` now takes `**kwargs` and forwards them to `batches.create`; the operator exposes them as `batch_kwargs`, so `output_expires_after` and whatever the SDK adds next are reachable without another named parameter.
   
   Also dropped the operator's `completion_window`.



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org