package openrouter_api

  1. Overview
  2. Docs
OCaml client for the OpenRouter API

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=37c701d570788095f9a0690e401a4b0c
sha512=0f6e6d347094aff4efb50330d50ade3f1706929400498998a8d8f409f1ab45099d792cc469210e53c2ca06b0e1a9b20fdf8e89361a52969cc495812092fe584b

doc/openrouter_api/Openrouter_api/Http/App_info/index.html

Module Http.App_infoSource

App-level attribution and feature-flag headers.

Sourcetype t = {
  1. http_referer : string option;
  2. x_title : string option;
  3. categories : string list;
  4. cache : bool;
  5. experimental_metadata : bool;
  6. extra : (string * string) list;
}
Sourceval none : t

All fields default to "off" / empty.

Sourceval create : ?http_referer:string -> ?x_title:string -> ?categories:string list -> ?cache:bool -> ?experimental_metadata:bool -> ?extra:(string * string) list -> unit -> t