package openrouter_api

  1. Overview
  2. Docs

Module Stream_chunk.DeltaSource

Sourcetype t = {
  1. role : string option;
  2. content : string option;
  3. audio : Audio_output.t option;
  4. refusal : string option;
  5. reasoning : string option;
  6. reasoning_details : Reasoning_detail.t list;
  7. images : Image.t list;
  8. annotations : Jsonaf.t list;
  9. tool_calls : Tool_call_chunk.t list;
}
include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourcemodule Elide_image : sig ... end