airflow.providers.common.ai.durable.step_counter¶
Shared step counter for durable execution caching.
Classes¶
Monotonically increasing counter shared between CachingModel and CachingToolset. |
Module Contents¶
- class airflow.providers.common.ai.durable.step_counter.DurableStepCounter[source]¶
Monotonically increasing counter shared between CachingModel and CachingToolset.
Each model call and tool call increments the counter. The step index is used as the cache key; replay correctness is verified separately by comparing the request fingerprint stored with each cache entry (see
airflow.providers.common.ai.durable.fingerprint).