LlmGatewayResponse
data class LlmGatewayResponse(val content: String? = null, val toolCalls: List<LlmToolCall> = emptyList(), val thinking: String? = null, val structuredJson: JsonElement? = null, val usage: JsonObject? = null, val providerModel: String? = null, val finishReason: String? = null, val metadata: JsonObject? = null)
A non-streaming response from an com.mojentic.llm.gateway.LlmGateway.
Properties
Link copied to clipboard
Provider finish reason (for example stop, length, tool_calls).
Link copied to clipboard
Model name the provider reported, which can differ from the requested model.
Link copied to clipboard
Structured JSON object, when a structured-output request was made.
Link copied to clipboard
Tool calls requested by the LLM. Empty when no tools were called.