fix: remove useless definition and add mock test

This commit is contained in:
Yujie Zhu 2025-03-19 17:42:08 +08:00
parent 47af8c756c
commit 703ced04d0
7 changed files with 94 additions and 146 deletions

View file

@ -141,6 +141,7 @@ openai_compatible_endpoints: List = [
"api.sambanova.ai/v1",
"api.x.ai/v1",
"api.galadriel.ai/v1",
"https://api-inference.bitdeer.ai/v1",
]
@ -170,6 +171,7 @@ openai_compatible_providers: List = [
"hosted_vllm",
"lm_studio",
"galadriel",
"bitdeerai",
]
openai_text_completion_compatible_providers: List = (
[ # providers that support `/v1/completions`