File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Run `cargo add inference-gateway-sdk`.
2222### Creating a Client
2323
2424``` rust
25- use inference_gateway_sdk :: {InferenceGatewayClient , Message , Provider , Role };
25+ use inference_gateway_sdk :: {InferenceGatewayClient , Message , Provider , MessageRole };
2626use log :: info;
2727use std :: error :: Error ;
2828
@@ -59,7 +59,7 @@ fn main() -> Result<(), Box<dyn Error>> {
5959To list all available models from all configured providers, use the ` list_models ` method:
6060
6161``` rust
62- use inference_gateway_sdk :: {InferenceGatewayClient , Message , Provider , Role };
62+ use inference_gateway_sdk :: {InferenceGatewayClient , Message , Provider , MessageRole };
6363use log :: info;
6464
6565fn main () -> Result <(), Box <dyn Error >> {
You can’t perform that action at this time.
0 commit comments