From b9b7707ad2684c99b8d9512a0651ebc0c08e5102 Mon Sep 17 00:00:00 2001 From: pandaaaa1990 Date: Wed, 19 Aug 2026 13:49:47 +0330 Subject: [PATCH 1/2] Update python_requests.py --- examples/quickstart/python_requests.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/quickstart/python_requests.py b/examples/quickstart/python_requests.py index ab838d8eb7c8..d886526cd058 100644 --- a/examples/quickstart/python_requests.py +++ b/examples/quickstart/python_requests.py @@ -26,3 +26,8 @@ response = requests.post(API_URL, headers=headers, json=data) response.raise_for_status() print(response.json()["choices"][0]["message"]["content"]) + +# Fresh install, zero credentials — `auto` already works: +curl http://localhost:20128/v1/chat/completions \ + -H "Content-Type: application/json" \ + -d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}' From 824471ff096058a7386aa885656c376e868e1da6 Mon Sep 17 00:00:00 2001 From: Markus Hartung Date: Wed, 19 Aug 2026 20:50:58 -0300 Subject: [PATCH 2/2] docs(examples): comment out shell block in python_requests.py to fix syntax Co-authored-by: pandaaaa1990 --- examples/quickstart/python_requests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/quickstart/python_requests.py b/examples/quickstart/python_requests.py index d886526cd058..a27c7b38b00b 100644 --- a/examples/quickstart/python_requests.py +++ b/examples/quickstart/python_requests.py @@ -28,6 +28,6 @@ print(response.json()["choices"][0]["message"]["content"]) # Fresh install, zero credentials — `auto` already works: -curl http://localhost:20128/v1/chat/completions \ - -H "Content-Type: application/json" \ - -d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}' +# curl http://localhost:20128/v1/chat/completions \ +# -H "Content-Type: application/json" \ +# -d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}'