We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c2c40 commit 23770c0Copy full SHA for 23770c0
sdk/openai/inference/src/clients/azure_openai_client.rs
@@ -67,7 +67,9 @@ impl BaseOpenAIClientMethods for AzureOpenAIClient {
67
// TODO gracefully handle this
68
Ok(self
69
.endpoint()
70
- .join(deployment_name.expect("deployment_name should be provided"))?)
+ .join("openai/")?
71
+ .join("deployments/")?
72
+ .join(&format!("{}/", deployment_name.expect("Deployment name is required")))?)
73
}
74
75
fn pipeline(&self) -> &azure_core::Pipeline {
0 commit comments