fix(e2e): route credential, cost map, and UI login calls to the control plane (#42506)

* fix(e2e): route credential, cost map, and UI login calls to the control plane

* test(e2e): stop pinning the upstream model name in the credential-backed messages test

* test(e2e): drop the harness unit test, the split stack run proves the routing live

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
This commit is contained in:
devin-ai-integration[bot] 2026-09-22 12:59:56 -07:00 • committed by GitHub
parent 1373322e0c
commit e02d5a990c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -49,5 +49,6 @@ class TestCredentialBackedMessages:
extra_body=NO_PROXY_CACHE,
)
assert message.role == "assistant", f"unexpected role: {message.role!r}"
assert message.usage.output_tokens > 0, f"/v1/messages billed no output tokens: {message.usage!r}"
text = "".join(block.text for block in message.content if block.type == "text")
assert text.strip(), f"/v1/messages returned no text: {message.content!r}"

View file

@ -312,8 +312,10 @@ CONTROL_PLANE_PREFIXES: tuple[str, ...] = (
"/global",
"/config",
"/guardrails",
"/credentials",
"/router/settings",
"/audit",
"/public",
"/v2/login",
"/openapi.json",
)