This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch ci-upgrade-main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/ci-upgrade-main by this push:
     new cbbc9770037 Ignore pydantic-ai's generic OpenAI-compatible provider in 
vendor drift checks
cbbc9770037 is described below

commit cbbc9770037f33f1186c042f2978fd491ddc425d
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Nov 2 17:44:44 2026 +0100

    Ignore pydantic-ai's generic OpenAI-compatible provider in vendor drift 
checks
    
    pydantic-ai-slim 2.63.0 adds a provider for any OpenAI-compatible endpoint. 
It needs a service name at construction and infer_model has no prefix for it, 
so a common.ai connection can never reach it and it is not a vendor the 
services page should list.
    
    Generated-by: Claude Opus 5
---
 providers/common/ai/tests/unit/common/ai/test_provider_metadata.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/providers/common/ai/tests/unit/common/ai/test_provider_metadata.py 
b/providers/common/ai/tests/unit/common/ai/test_provider_metadata.py
index c235d109b82..df10e78b415 100644
--- a/providers/common/ai/tests/unit/common/ai/test_provider_metadata.py
+++ b/providers/common/ai/tests/unit/common/ai/test_provider_metadata.py
@@ -112,7 +112,10 @@ NON_MODULE_SERVICES: set[str] = set()
 # (chat or embedding) that reaches them. `elevenlabs` (added in 
pydantic-ai-slim 2.59.0) is
 # the same: its provider only backs ElevenLabs speech/realtime models, which 
`infer_model`
 # does not route to (`UserError: Unknown model: elevenlabs:...`, checked on 
2.59.0).
-UNREACHABLE_MODULES = {"voyageai", "sentence_transformers", "elevenlabs"}
+# `openai_compatible` (added in pydantic-ai-slim 2.63.0) is a generic provider 
for any
+# OpenAI-compatible endpoint that must be constructed with a service `name`; 
`infer_model` has no
+# prefix for it (`UserError: Unknown model: openai-compatible:...`, checked on 
2.63.0).
+UNREACHABLE_MODULES = {"voyageai", "sentence_transformers", "elevenlabs", 
"openai_compatible"}
 
 # Modules that ARE reachable through `infer_model` (unlike 
UNREACHABLE_MODULES) but are
 # excluded by decision because pydantic-ai itself marks the upstream backend 
dead:

Reply via email to