Expand description
Provider implementation for OpenRouter.
This crate implements a client for interacting with the OpenRouter API.
Structs§
- Choice
- Message
- Models
Item - Models
List - Represents a list of available models.
- Openrouter
- A client for the OpenRouter API.
- Openrouter
Builder - A builder for creating an
Openrouterclient. - Openrouter
Model - OpenRouter model identifier.
- Openrouter
Response - Represents the response from the OpenRouter API.
- Openrouter
Stream Response - Represents a single streaming chunk from the OpenRouter API.
- Stream
Choice - Stream
Delta - Usage
Enums§
- Openrouter
Error - Errors that can occur while using the
Openrouterclient.