Skip to content

Commit 5fe37f5

Browse files
committed
update example
Signed-off-by: kerthcet <kerthcet@gmail.com>
1 parent 3d7ccae commit 5fe37f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ let config = client::Config::builder()
3535
.routing_mode(client::RoutingMode::WRR)
3636
.model(
3737
client::ModelConfig::builder()
38-
.id("gpt-3.5-turbo")
38+
.name("gpt-3.5-turbo")
3939
.weight(2)
4040
.build()
4141
.unwrap(),
4242
)
4343
.model(
4444
client::ModelConfig::builder()
45-
.id("gpt-4")
45+
.name("gpt-4")
4646
.weight(1)
4747
.build()
4848
.unwrap(),

0 commit comments

Comments
 (0)