From a597063747bb2a684d593839c6d1825a33cc6032 Mon Sep 17 00:00:00 2001 From: Yijia-Xiao Date: Sat, 13 Jun 2026 21:30:11 +0000 Subject: [PATCH] fix(cli): correct invalid escape sequence in confirm_ollama_endpoint docstring The docstring used \` (an invalid escape that raises SyntaxWarning and will become a SyntaxError); use plain backticks. --- cli/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/utils.py b/cli/utils.py index c65cc7e25..1cba5ec78 100644 --- a/cli/utils.py +++ b/cli/utils.py @@ -498,7 +498,7 @@ def confirm_ollama_endpoint(url: str) -> None: Surfaces three things the user benefits from seeing before model selection: which URL we'll actually hit, where it came from - (\`OLLAMA_BASE_URL\` vs default), and a soft warning if the URL is + (`OLLAMA_BASE_URL` vs default), and a soft warning if the URL is missing the scheme/port that ollama-serve expects. The warning is advisory only — we don't reject malformed input, since the user may be doing something deliberately unusual (e.g. a reverse-proxy path).