OpenRouterStreamDelta

class OpenRouterStreamDelta(val content: String? = null, val role: String? = null, val toolCalls: List<OpenAIToolCall>? = null, val reasoning: String? = null, val reasoningDetails: List<JsonElement>? = null)(source)

Constructors

Link copied to clipboard
constructor(content: String? = null, role: String? = null, toolCalls: List<OpenAIToolCall>? = null, reasoning: String? = null, reasoningDetails: List<JsonElement>? = null)

Properties

Link copied to clipboard

The contents of the chunk message.

Link copied to clipboard

The reasoning content for models that support it.

Link copied to clipboard
@SerialName(value = "reasoning_details")
val reasoningDetails: List<JsonElement>?

Additional reasoning details in structured format.

Link copied to clipboard
val role: String?

The role of the author of this message.

Link copied to clipboard

The tool calls requested by the model.