kaxil commented on code in PR #76917:
URL: https://github.com/apache/airflow/pull/76917#discussion_r4647252726


##########
providers/common/ai/docs/operators/agent.rst:
##########
@@ -236,8 +236,9 @@ file, and ``system_prompt`` is added to the file's 
``instructions``:
 Build the path from ``__file__``: a relative path resolves against the worker's
 working directory, not the Dag file.
 
-With ``durable=True``, the toolsets that spec-file capabilities contribute are 
replayed
-like any other, and need an id the same way (see :doc:`../durable_execution`). 
The
+With durable execution (on by default for a task that can retry on Airflow 3.3 
and later;
+see :doc:`../durable_execution`), the toolsets that spec-file capabilities 
contribute are
+replayed like any other, and need an id the same way. The
 operator cannot see inside a spec file when the Dag is parsed, so a missing id 
there
 fails the task when the agent is built rather than the Dag when it loads.

Review Comment:
   Yeah, that paragraph was written before the default existed. Reworded it in 
e6701ffa09b: `durable=True` fails the task. Under the default it runs without 
durable execution and logs why, except when the journal already holds a run, 
where it fails too. I made the same fix in `durable_execution.rst`.



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