Skip to content

Commit bba643b

Browse files
authored
Fix Readme.md (#90)
* Fix Readme.md Signed-off-by: kerthcet <kerthcet@gmail.com> * fix typo Signed-off-by: kerthcet <kerthcet@gmail.com> * fix typo Signed-off-by: kerthcet <kerthcet@gmail.com> --------- Signed-off-by: kerthcet <kerthcet@gmail.com>
1 parent eb53636 commit bba643b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ AMRS builds on top of [async-openai](https://github.com/64bit/async-openai) to p
88

99
## Features
1010

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

3636
## How to Use
3737

38-
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"`.
38+
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"`.
3939
Here we use OpenAI as an example.
4040

4141

@@ -49,7 +49,7 @@ use tokio::runtime::Runtime;
4949
fn main() {
5050
let config = client::Config::builder()
5151
.provider("openai")
52-
.routing_mode(client::RouterMode::WRR)
52+
.router_mode(client::RouterMode::WRR)
5353
.model(
5454
client::ModelConfig::builder()
5555
.name("gpt-3.5-turbo")

0 commit comments

Comments
 (0)