package ocaml-ai-sdk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ai_provider_anthropic.Beta_headersSource

Manage Anthropic beta feature headers.

Sourceval required_betas : thinking:Thinking.t option -> has_pdf:bool -> tool_streaming:bool -> string list

Return required beta header values for the given features.

Sourceval merge_beta_headers : user_headers:(string * string) list -> required:string list -> (string * string) list

Merge required betas into the anthropic-beta header, deduplicating.