Skip to main content

Crate latchlm_openrouter

Crate latchlm_openrouter 

Source
Expand description

Provider implementation for OpenRouter.

This crate implements a client for interacting with the OpenRouter API.

Structs§

Choice
Message
ModelsItem
ModelsList
Represents a list of available models.
Openrouter
A client for the OpenRouter API.
OpenrouterBuilder
A builder for creating an Openrouter client.
OpenrouterModel
OpenRouter model identifier.
OpenrouterResponse
Represents the response from the OpenRouter API.
OpenrouterStreamResponse
Represents a single streaming chunk from the OpenRouter API.
StreamChoice
StreamDelta
Usage

Enums§

OpenrouterError
Errors that can occur while using the Openrouter client.