uranusjr commented on code in PR #76015:
URL: https://github.com/apache/airflow/pull/76015#discussion_r4450664449
##########
providers/common/ai/src/airflow/providers/common/ai/durable/openai_agents.py:
##########
@@ -103,6 +104,16 @@
# Arguments that keep the conversation on OpenAI's servers, which a replayed
model call never reaches.
_SERVER_SIDE_STATE = ("previous_response_id", "conversation_id",
"auto_previous_response_id")
+# Tool steps a model response claimed, by tool call id, until the tool takes
its own. The tools of
+# one response start in model order but reach their wrapper after guardrails
and hooks of varying
+# duration, so claiming there would number them by completion order.
+# Removed when ``run_durably`` ends: the steps hold their run, so a weak
reference would not free it.
Review Comment:
```suggestion
# Removed when ``run_durably`` ends.
```
--
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]