Skip to content

The agent that grows with you

test: cite #115990 on the named-llamacpp aux resolver test

teknium1314586b0889b
diff --git a/tests/agent/test_auxiliary_named_custom_providers.py b/tests/agent/test_auxiliary_named_custom_providers.py
index dbff6b08266..ebb79ac00dd 100644
--- a/tests/agent/test_auxiliary_named_custom_providers.py
+++ b/tests/agent/test_auxiliary_named_custom_providers.py
@@ -396,6 +396,8 @@ class TestCustomProviderAliasCollision:
@pytest.mark.parametrize("provider", ["llamacpp", "custom:llamacpp"])
def test_named_llamacpp_wins_over_local_server_alias(self, tmp_path, provider):
+ """A ``providers:`` entry whose name is also a local-server alias (``llamacpp``) resolves to
+ its configured base_url, not to the alias's generic ``custom`` branch (#115990)."""
_write_config(tmp_path, {
"model": {"provider": "openrouter", "default": "anthropic/claude-sonnet-4.6"},
"providers": {