You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(knowledge): lock embedding model to KB_EMBEDDING_MODEL env var
Remove the user-facing model picker from the KB create modal and the
embeddingModel field from the create/update API schemas. The active model
is now selected server-side via KB_EMBEDDING_MODEL, which collapses Azure
routing to a single deployment (KB_OPENAI_MODEL_NAME) and drops the
per-model AZURE_OPENAI_DEPLOYMENT_TEXT_EMBEDDING_3_* env vars and
SUPPORTED_EMBEDDING_MODEL_IDS / UI-only label+description registry fields.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
AZURE_ANTHROPIC_ENDPOINT: z.string().url().optional(),// Azure Anthropic service endpoint
123
123
AZURE_ANTHROPIC_API_KEY: z.string().min(1).optional(),// Azure Anthropic API key
124
124
AZURE_ANTHROPIC_API_VERSION: z.string().min(1).optional(),// Azure Anthropic API version (e.g. 2023-06-01)
125
-
KB_OPENAI_MODEL_NAME: z.string().optional(),// Knowledge base OpenAI model name (works with both regular OpenAI and Azure OpenAI). Used as the Azure deployment for text-embedding-3-small (legacy/default).
126
-
AZURE_OPENAI_DEPLOYMENT_TEXT_EMBEDDING_3_SMALL: z.string().optional(),// Azure deployment name serving text-embedding-3-small. If unset, falls back to KB_OPENAI_MODEL_NAME.
127
-
AZURE_OPENAI_DEPLOYMENT_TEXT_EMBEDDING_3_LARGE: z.string().optional(),// Azure deployment name serving text-embedding-3-large. Required to use 3-large via Azure.
125
+
KB_OPENAI_MODEL_NAME: z.string().optional(),// Azure deployment name serving the configured KB embedding model (used only when AZURE_OPENAI_* credentials are set).
126
+
KB_EMBEDDING_MODEL: z.string().optional(),// Embedding model used for all new knowledge bases. Must be one of the supported model ids; defaults to text-embedding-3-small.
128
127
WAND_OPENAI_MODEL_NAME: z.string().optional(),// Wand generation OpenAI model name (works with both regular OpenAI and Azure OpenAI)
129
128
OCR_AZURE_ENDPOINT: z.string().url().optional(),// Azure Mistral OCR service endpoint
130
129
OCR_AZURE_MODEL_NAME: z.string().optional(),// Azure Mistral OCR model name for document processing
0 commit comments