amoghrajesh commented on code in PR #76785:
URL: https://github.com/apache/airflow/pull/76785#discussion_r4534034139


##########
providers/common/ai/src/airflow/providers/common/ai/durable/openai_agents.py:
##########
@@ -184,6 +187,19 @@ def research(question: str) -> str:
     except BaseException as error:
         durable_run.fail(error, model_at_fault=isinstance(error, 
_MODEL_AT_FAULT))
         raise
+    if result.interruptions:

Review Comment:
   `run_durably` shipped in 1.0.0, returning interrupted runs. Code that did 
`result.to_state()` and `state.approve()` after `run_durably_sync` now gets an 
`AirflowFailException` instead. Should we add entry to changelog for this?
   
   



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