docs: stop presenting the in-memory client as the way to connect (#3443)

This commit is contained in:
Max 2026-09-05 04:15:58 +01:00 • committed by GitHub
commit 7bb486a10f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,8 +21,9 @@ uv run python -m stories.prompts.client --http --server server_lowlevel
## What to look at
- `client.py` `main` — the body opens with `async with Client(target,
mode=mode) as client:`; `target` is anything `Client(...)` accepts (an
in-process server, a `Transport`, or an HTTP URL).
mode=mode) as client:`; `target` is anything `Client(...)` accepts (an HTTP
URL, `StdioServerParameters`, a `Transport`, or, in tests, an in-process
server).
- `server.py` `greet` vs `code_review` — return a bare `str` (wrapped as one
user message) or a `list[Message]` for a multi-turn seed conversation.
- `server.py` `complete()` — one global handler dispatches on `ref` +