Skip to main content
One OpenAI-compatible chat message, discriminated by role.

Supported Types

InternChatAssistantMessage

InternChatDeveloperMessage

InternChatSystemMessage

InternChatToolMessage

InternChatUserMessage

Union Discrimination

Use the Type field to determine which variant is active, then access the corresponding field: