diff options
Diffstat (limited to '')
| -rwxr-xr-x | scripts/mock-provider.py | 3 |
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 | |||
| 5 | a usage frame, with a small pause between them so the renderer can be seen | 5 | a usage frame, with a small pause between them so the renderer can be seen |
| 6 | working incrementally. | 6 | working incrementally. |
| 7 | 7 | ||
| 8 | Serves 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 | """ |
