Skip to content
providerkit
GitHub

toGeminiContents

function toGeminiContents(messages, provider?): object;

Defined in: core/src/hosted.ts:102

Convert history with Gemini’s hosted replay records.

Parameter Type
messages readonly ChatMessage[]
provider? string

object

contents: GeminiContent[];
optional system?: string;