Openrouter.Make_clientSourcemodule Http : Chatoyant_runtime.Effect.HTTPtype config = {api_key : string;timeout_ms : int option;http_referer : string option;title : string option;headers : (string * string) list;}val create_response :
config ->
responses_request ->
(responses_response, Openai.api_error) resultval count_models :
?output_modalities:string ->
config ->
(model_count, Openai.api_error) resultval list_model_endpoints :
config ->
author:string ->
slug:string ->
(model_endpoint_list, Openai.api_error) resultval list_model_endpoints_by_id :
config ->
model_id:string ->
(model_endpoint_list, Openai.api_error) resultval retrieve_generation :
config ->
generation_id:string ->
(generation, Openai.api_error) resultval download_video :
?index:int ->
config ->
job_id:string ->
(string, Openai.api_error) resultval management_get :
management_config ->
path:string ->
(management_resource, Openai.api_error) resultval management_list :
management_config ->
path:string ->
(management_list, Openai.api_error) resultval management_post :
management_config ->
path:string ->
Chatoyant_runtime.Json.t ->
(management_resource, Openai.api_error) resultval management_patch :
management_config ->
path:string ->
Chatoyant_runtime.Json.t ->
(management_resource, Openai.api_error) resultval management_delete :
management_config ->
path:string ->
(management_delete, Openai.api_error) resultval create_key :
management_config ->
Chatoyant_runtime.Json.t ->
(management_resource, Openai.api_error) resultval update_key :
management_config ->
key_hash:string ->
Chatoyant_runtime.Json.t ->
(management_resource, Openai.api_error) resultval delete_key :
management_config ->
key_hash:string ->
(management_delete, Openai.api_error) resultval create_guardrail :
management_config ->
Chatoyant_runtime.Json.t ->
(management_resource, Openai.api_error) resultval get_guardrail :
management_config ->
guardrail_id:string ->
(management_resource, Openai.api_error) resultval update_guardrail :
management_config ->
guardrail_id:string ->
Chatoyant_runtime.Json.t ->
(management_resource, Openai.api_error) resultval delete_guardrail :
management_config ->
guardrail_id:string ->
(management_delete, Openai.api_error) result