server : make models endpoints private when authentication is enabled (#26347)

* server : make models endpoints private when authentication is enabled

* tests : fix models endpoint auth
This commit is contained in:
s0mecode
2026-08-19 20:44:42 +02:00
committed by GitHub
parent dc72703fc6
commit ee0ea03adf
4 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ def create_server():
server.api_key = TEST_API_KEY
@pytest.mark.parametrize("endpoint", ["/health", "/models"])
@pytest.mark.parametrize("endpoint", ["/health"])
def test_access_public_endpoint(endpoint: str):
global server
server.start()