mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
feat(open-sse): add blackbox provider with bb alias (#1143)
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
@@ -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",
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user