feat(open-sse): add blackbox provider with bb alias (#1143)
This commit is contained in:
parent
d26db17f5f
commit
75904b8c27
2 changed files with 3 additions and 0 deletions
|
|
@ -424,6 +424,7 @@ export const PROVIDERS = {
|
|||
publicai: { baseUrl: "https://api.publicai.co/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" },
|
||||
blackbox: { baseUrl: "https://api.blackbox.ai/chat/completions", format: "openai" },
|
||||
};
|
||||
|
||||
export const OLLAMA_LOCAL_DEFAULT_HOST = "http://localhost:11434";
|
||||
|
|
|
|||
|
|
@ -132,6 +132,8 @@ const ALIAS_TO_PROVIDER_ID = {
|
|||
"nous-research": "nous-research",
|
||||
nous: "nous-research",
|
||||
glhf: "glhf",
|
||||
bb: "blackbox",
|
||||
blackbox: "blackbox",
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue