QoderSDKClient — it maintains a long-lived connection and lets you decide the next message based on the model’s reply. For one-shot, stateless queries, use query() (see Quick Start).
Multi-message session
Each call toclient.query(...) appends one turn of input; consume the reply to its end with client.receive_response():
Managing the session lifecycle
The connection lifecycle ofQoderSDKClient is owned by the caller. Two ways to manage it: