Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AMRS builds on top of [async-openai](https://github.com/64bit/async-openai) to p

## Features

- **Endpoints Support** (only basic ones because of limited resources):
- **Endpoints Support**:
- Chat Completions
- Responses
- More on the way
Expand All @@ -35,7 +35,7 @@ Or add the following line to your Cargo.toml:

## How to Use

Here's a simple example with the Weighted Round Robin (WRR) routing mode. Before running the code, make sure to set your provider API key in the environment variable by running `export <PROVIDER>_API_KEY="your_provider_api_key"`.
Here's a simple example with the Weighted Round Robin (WRR) router mode. Before running the code, make sure to set your provider API key in the environment variable by running `export <PROVIDER>_API_KEY="your_provider_api_key"`.
Here we use OpenAI as an example.


Expand All @@ -49,7 +49,7 @@ use tokio::runtime::Runtime;
fn main() {
let config = client::Config::builder()
.provider("openai")
.routing_mode(client::RouterMode::WRR)
.router_mode(client::RouterMode::WRR)
.model(
client::ModelConfig::builder()
.name("gpt-3.5-turbo")
Expand Down
Loading