fix: support Azure provider with reasoning models (#1310)

Co-authored-by: Ralph Khreish <Crunchyman-ralph@users.noreply.github.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Fixes #638
This commit is contained in:
Ralph Khreish
2025-12-16 16:14:24 +01:00
committed by GitHub
parent 353e3bffd6
commit 4b6570e300
18 changed files with 2093 additions and 2077 deletions

View File

@@ -13,7 +13,11 @@ export const VALIDATED_PROVIDERS = [
'perplexity',
'xai',
'groq',
'mistral'
'mistral',
'azure',
'openrouter',
'bedrock',
'ollama'
] as const;
export type ValidatedProvider = (typeof VALIDATED_PROVIDERS)[number];
@@ -42,8 +46,5 @@ export const CUSTOM_PROVIDERS_ARRAY = Object.values(CUSTOM_PROVIDERS);
// All known providers (for reference)
export const ALL_PROVIDERS = [
...VALIDATED_PROVIDERS,
...CUSTOM_PROVIDERS_ARRAY
] as const;
export type Provider = ValidatedProvider | CustomProvider;
...new Set([...VALIDATED_PROVIDERS, ...CUSTOM_PROVIDERS_ARRAY])
];