aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-18 12:34:33 +0100
committersalmonik <salmonik@tuta.io>2026-11-18 12:34:33 +0100
commit45d0d3c5f431688aa9dfbd6a4214256d6fe64122 (patch)
tree862ca7949b0e6c1c8084f2fe7431bfa56364d8fc /scripts
parent0.9.1: correctness fixes from the audit (diff)
downloadagent686-45d0d3c5f431688aa9dfbd6a4214256d6fe64122.tar.gz
agent686-45d0d3c5f431688aa9dfbd6a4214256d6fe64122.zip
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mock-provider.py3
1 files changed, 3 insertions, 0 deletions
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
5a usage frame, with a small pause between them so the renderer can be seen 5a usage frame, with a small pause between them so the renderer can be seen
6working incrementally. 6working incrementally.
7 7
8Serves only POST /chat/completions; it does not serve GET /models, so
9`--doctor` cannot be exercised against it (it returns an HTML 501).
10
8 scripts/mock-provider.py --port 8765 11 scripts/mock-provider.py --port 8765
9 OPENCODE_API_KEY=test ./agent686 --base-url http://127.0.0.1:8765/v1 "hi" 12 OPENCODE_API_KEY=test ./agent686 --base-url http://127.0.0.1:8765/v1 "hi"
10""" 13"""