Connect to the `OpenShell` server.
(endpoint: &str)
| 548 | |
| 549 | /// Connect to the `OpenShell` server. |
| 550 | async fn connect(endpoint: &str) -> Result<OpenShellClient<AuthedChannel>> { |
| 551 | let channel = connect_channel(endpoint).await?; |
| 552 | Ok(OpenShellClient::new(channel)) |
| 553 | } |
| 554 | |
| 555 | /// Connect to the inference service. |
| 556 | async fn connect_inference(endpoint: &str) -> Result<InferenceClient<AuthedChannel>> { |