summaryrefslogtreecommitdiffstats
path: root/scripts/mock-provider.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-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"""