mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
test(e2e): route /credentials to the control plane in split deployments
Some checks failed
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
Some checks failed
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
6c3d89b920
commit
43a7968c36
2 changed files with 2 additions and 0 deletions
|
|
@ -389,6 +389,7 @@ class TestReplicasFor:
|
|||
)
|
||||
assert set(client.replicas_for("/key/info")) == {"http://backend"}
|
||||
assert set(client.replicas_for("/project/info")) == {"http://backend"}
|
||||
assert set(client.replicas_for("/credentials/e2e-cred")) == {"http://backend"}
|
||||
assert set(client.replicas_for("/v1/models")) == {"http://gateway-1", "http://gateway-2"}
|
||||
|
||||
def test_monolith_reads_management_routes_back_from_every_replica(self) -> None:
|
||||
|
|
|
|||
|
|
@ -307,6 +307,7 @@ CONTROL_PLANE_PREFIXES: tuple[str, ...] = (
|
|||
"/tag",
|
||||
"/budget",
|
||||
"/model/",
|
||||
"/credentials",
|
||||
"/access_group",
|
||||
"/spend",
|
||||
"/global",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue