diff --git a/src/components/chat-interface/model-selector/index.tsx b/src/components/chat-interface/model-selector/index.tsx index de6697e6..f6b48a75 100644 --- a/src/components/chat-interface/model-selector/index.tsx +++ b/src/components/chat-interface/model-selector/index.tsx @@ -77,6 +77,12 @@ export default function ModelSelector(props: ModelSelectorProps) { ) { return false; } + if ( + model.name.includes("azure/") && + process.env.NEXT_PUBLIC_AZURE_ENABLED === "false" + ) { + return false; + } if ( model.name.includes("gemini-") && process.env.NEXT_PUBLIC_GEMINI_ENABLED === "false"