Skip to content

Commit

Permalink
Azure: land in main, disable instancing as we finish it
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Sep 23, 2023
1 parent 3448267 commit 91353ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modules/llms/transports/server/azure.router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const llmAzureRouter = createTRPCRouter({
const { id, label, ...rest } = openAIModelToModelDescription(model.model, model.created_at, model.updated_at);
return {
id: model.id,
label: `${model.id} (${label})`,
label: `${label} (${model.id})`,
...rest,
};
});
Expand Down
4 changes: 2 additions & 2 deletions src/modules/llms/vendors/azure/azure.vendor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface SourceSetupAzure {
* "/openai/deployments?api-version=2023-03-15-preview" path on the endpoint. See:
* https://github.com/openai/openai-python/issues/447#issuecomment-1730976835
*
* 2. Still looking for a solution - in the meantime the way to go seems to be to manyally get the full URL
* 2. Still looking for a solution - in the meantime the way to go seems to be to manually get the full URL
* of every "Deployment" (Model) and hit the URL directly. However the user will need to fill in the full
* model sheet, as details are not available just from the URL.
*
Expand All @@ -42,7 +42,7 @@ export const ModelVendorAzure: IModelVendor<SourceSetupAzure, LLMOptionsOpenAI>
name: 'Azure',
rank: 14,
location: 'cloud',
instanceLimit: 2,
instanceLimit: 0,

// components
Icon: AzureIcon,
Expand Down

0 comments on commit 91353ce

Please sign in to comment.