Skip to main content
All types are exported from @gatelit/sdk.

GatelitClientConfig

TokenScheme

ChatOptions

ChatMessage

content may be plain text, a string of block JSON, or an array of content parts for multimodal requests:
Image and file parts accept a remote URL or a base64 data URL. Remote URLs are fetched server-side when the provider requires inline data (Anthropic, Google), and text files are inlined as plain text on every model. See file inputs for the full behavior.

ChatResponse

StreamChunk

Usage

GatelitMeta

GatelitError

ConversationOptions