feat(open-sse): add blackbox provider with bb alias (#1143)

This commit is contained in:
anhvandev
2026-05-15 10:50:19 +07:00
committed by GitHub
parent d26db17f5f
commit 75904b8c27
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -424,6 +424,7 @@ export const PROVIDERS = {
publicai: { baseUrl: "https://api.publicai.co/v1/chat/completions", format: "openai" }, publicai: { baseUrl: "https://api.publicai.co/v1/chat/completions", format: "openai" },
"nous-research": { baseUrl: "https://inference-api.nousresearch.com/v1/chat/completions", format: "openai" }, "nous-research": { baseUrl: "https://inference-api.nousresearch.com/v1/chat/completions", format: "openai" },
glhf: { baseUrl: "https://glhf.chat/api/openai/v1/chat/completions", format: "openai" }, glhf: { baseUrl: "https://glhf.chat/api/openai/v1/chat/completions", format: "openai" },
blackbox: { baseUrl: "https://api.blackbox.ai/chat/completions", format: "openai" },
}; };
export const OLLAMA_LOCAL_DEFAULT_HOST = "http://localhost:11434"; export const OLLAMA_LOCAL_DEFAULT_HOST = "http://localhost:11434";
+2
View File
@@ -132,6 +132,8 @@ const ALIAS_TO_PROVIDER_ID = {
"nous-research": "nous-research", "nous-research": "nous-research",
nous: "nous-research", nous: "nous-research",
glhf: "glhf", glhf: "glhf",
bb: "blackbox",
blackbox: "blackbox",
}; };
/** /**