Responses
Response types returned by the Gateway methods.CompleteChatHandlerResponseType
Returned bygateway.completeChat().
Fields
MessageType
required
The assistant’s response message. See Message Types.
object
required
Token usage statistics.
ToolCallType[]
Tool calls requested by the model. Pass these to
gateway.getToolResponses() to execute them.StreamChatHandlerResponseType
Yielded by the async generator fromgateway.streamChat().
GetEmbeddingsHandlerResponseType
Returned bygateway.getEmbeddings().