From ca765bd092648b7442eb3ed934e8d2b36dc1f1f3 Mon Sep 17 00:00:00 2001 From: kerthcet Date: Fri, 2 Jan 2026 07:18:33 +0800 Subject: [PATCH 1/3] Fix Readme.md Signed-off-by: kerthcet --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e2f533e..b1ecc3c 100644 --- a/README.md +++ b/README.md @@ -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 _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 _API_KEY="your_openai_api_key"`. Here we use OpenAI as an example. @@ -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") From 28a18f24cdf0a10a605e31fbfc17008180e557c5 Mon Sep 17 00:00:00 2001 From: kerthcet Date: Fri, 2 Jan 2026 07:23:43 +0800 Subject: [PATCH 2/3] fix typo Signed-off-by: kerthcet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b1ecc3c..4cf45f3 100644 --- a/README.md +++ b/README.md @@ -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) router mode. Before running the code, make sure to set your provider API key in the environment variable by running `export _API_KEY="your_openai_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 _API_KEY="your_provider_api_key"`. Here we use OpenAI as an example. From 6da5a0cf37432f5c36b4010e90081de321a0b516 Mon Sep 17 00:00:00 2001 From: kerthcet Date: Fri, 2 Jan 2026 07:24:38 +0800 Subject: [PATCH 3/3] fix typo Signed-off-by: kerthcet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4cf45f3..80b5430 100644 --- a/README.md +++ b/README.md @@ -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