You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2026/10/14 00:27:39 UTC
(airflow) branch main updated: Document Managed Agents as a first-party feature (#72306)
This is an automated email from the ASF dual-hosted git repository.
kaxil pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 3a08e9b11e3 Document Managed Agents as a first-party feature (#72306)
3a08e9b11e3 is described below
commit 3a08e9b11e329ba04834e904ff74c26d32404ed5
Author: huyua9 <su...@163.com>
AuthorDate: Wed Oct 14 08:27:30 2026 +0800
Document Managed Agents as a first-party feature (#72306)
---
.../anthropic/src/airflow/providers/anthropic/hooks/anthropic.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/providers/anthropic/src/airflow/providers/anthropic/hooks/anthropic.py b/providers/anthropic/src/airflow/providers/anthropic/hooks/anthropic.py
index fa669186856..0fe6a1b07f8 100644
--- a/providers/anthropic/src/airflow/providers/anthropic/hooks/anthropic.py
+++ b/providers/anthropic/src/airflow/providers/anthropic/hooks/anthropic.py
@@ -79,9 +79,11 @@ if TYPE_CHECKING:
DEFAULT_MODEL = "claude-opus-4-8"
#: Platforms that serve the first-party-only endpoints (Message Batches, token
-#: counting, the Models API). Amazon Bedrock, Google Vertex AI and Microsoft
-#: Foundry do not serve these, so the hook fails fast rather than surfacing a
-#: raw ``404`` from the SDK.
+#: counting, the Models API and Managed Agents): ``anthropic`` for the
+#: first-party Anthropic API, and ``aws`` for Claude Platform on AWS, which is
+#: distinct from Amazon Bedrock. Google Vertex AI and Microsoft Foundry do not
+#: serve these either, so the hook fails fast rather than surfacing a raw
+#: ``404`` from the SDK.
FIRST_PARTY_PLATFORMS = frozenset({"anthropic", "aws"})
AnthropicClient = Anthropic | AnthropicBedrock | AnthropicVertex | AnthropicAWS | AnthropicFoundry