Fix: Asure-OpenAI resource not found (#11934)

### What problem does this PR solve?

Asure-OpenAI resource not found. #11750


### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Yongteng Lei
2025-12-13 11:32:46 +08:00
committed by GitHub
parent 44dec89f1f
commit 6be0338aa0
2 changed files with 17 additions and 23 deletions

View File

@ -55,6 +55,7 @@ class SupportedLiteLLMProvider(StrEnum):
DeerAPI = "DeerAPI"
GPUStack = "GPUStack"
OpenAI = "OpenAI"
Azure_OpenAI = "Azure-OpenAI"
FACTORY_DEFAULT_BASE_URL = {
@ -116,7 +117,7 @@ LITELLM_PROVIDER_PREFIX = {
SupportedLiteLLMProvider.DeerAPI: "openai/",
SupportedLiteLLMProvider.GPUStack: "openai/",
SupportedLiteLLMProvider.OpenAI: "openai/",
SupportedLiteLLMProvider.Azure_OpenAI: "azure/",
}
ChatModel = globals().get("ChatModel", {})