ctx and a configured model. Import pkg/gateway/llm/responses and pkg/utils.
Request a complete response
Streaming responses
Continue a conversation
For direct model calls, retain the input and output items yourself. Convert returned output items withitem.AsInput() and append the next user message to responses.InputMessageList. Preserve reasoning and tool-call items required by the provider, not just visible assistant text.
The bound client does not maintain a thread for you. For persisted conversation state, use agent history.