Sionic Opengateway
    • Default module
      • Overview
        • Getting Started With OpenGateway
        • Model Compatible
      • Apis
        • /chat/completions
        • /v1/chat/completions
    • og-onprem
      • Chat Completions
        • Create chat completion
      • Responses
        • Create a model response
      • Messages
        • Create a message (Anthropic Messages format)
      • Embeddings
        • Create embeddings
      • Images
        • Create image
        • Edit image
      • Models
        • List models
      • Schemas
        • ModelId
        • DebugCategory
        • FallbackModels
        • DebugCategories
        • Extra
        • Debug
        • OpenAIError
        • OpenAIErrorResponse
        • AnthropicErrorResponse
        • CacheControl
        • ChatContentPart
        • ChatTextPart
        • ChatImagePart
        • ToolCall
        • ChatMessage
        • FunctionDefinition
        • ChatTool
        • ToolChoice
        • ChatCompletionRequest
        • ChatCompletionUsage
        • LogprobToken
        • ChatCompletion
        • ChatCompletionChunk
        • ResponsesInputItem
        • ResponsesMessageItem
        • ResponsesFunctionCallItem
        • ResponsesFunctionCallOutputItem
        • ResponsesTool
        • ResponsesRequest
        • ResponseObject
        • MessagesRequest
        • AnthropicMessage
        • EmbeddingsRequest
        • EmbeddingsResponse
        • ImageGenerationRequest
        • ImageEditRequest
        • ImagesResponse
        • ModelStatus
        • CatalogEndpoint
        • Model
        • ModelList

    ChatMessage

    {
        "role": "system",
        "content": "string",
        "name": "string",
        "tool_calls": [
            {
                "id": "string",
                "type": "function",
                "function": {
                    "name": "string",
                    "arguments": "string"
                }
            }
        ],
        "tool_call_id": "string",
        "reasoning_content": "string",
        "reasoning_details": [
            null
        ],
        "cache_control": {
            "type": "ephemeral",
            "ttl": "string"
        }
    }
    Built with