From 45d0d3c5f431688aa9dfbd6a4214256d6fe64122 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 18 Nov 2026 12:34:33 +0100 Subject: 0.9.2: doc accuracy and UX fixes from the review - missing key exits 1, consistent with --doctor - HTML error bodies get a one-line message - no unapprovable diff printed on a non-terminal - weak GLIBC_2.39 fix covers x86_64 gnu as well as i686 - README/PLAN/CHANGELOG brought in line with the actual binary --- scripts/mock-provider.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/mock-provider.py b/scripts/mock-provider.py index aa4731e..d1ae271 100755 --- a/scripts/mock-provider.py +++ b/scripts/mock-provider.py @@ -5,6 +5,9 @@ No API key, no network, no quota. Streams a reasoning delta, a text answer and a usage frame, with a small pause between them so the renderer can be seen working incrementally. +Serves only POST /chat/completions; it does not serve GET /models, so +`--doctor` cannot be exercised against it (it returns an HTML 501). + scripts/mock-provider.py --port 8765 OPENCODE_API_KEY=test ./agent686 --base-url http://127.0.0.1:8765/v1 "hi" """ -- cgit v1.2.3