mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-26 01:25:15 +02:00
Add reasoning flag for azure models with "default" fallback (#3128)
This commit is contained in:
@@ -35,6 +35,15 @@ const KEY_MAPPING = {
|
||||
envKey: "EMBEDDING_MODEL_PREF",
|
||||
checks: [isNotEmpty],
|
||||
},
|
||||
AzureOpenAiModelType: {
|
||||
envKey: "AZURE_OPENAI_MODEL_TYPE",
|
||||
checks: [
|
||||
(input) =>
|
||||
["default", "reasoning"].includes(input)
|
||||
? null
|
||||
: "Invalid model type. Must be one of: default, reasoning.",
|
||||
],
|
||||
},
|
||||
|
||||
// Anthropic Settings
|
||||
AnthropicApiKey: {
|
||||
|
||||
Reference in New Issue
Block a user