Files
OmniRoute/open-sse/config/providers/registry/blackbox/index.ts
Ankit e61b75f007 fix(config): externalize ws for copilot-m365-web executor (#6098, closes #6062)
Externalize ws / bufferutil / utf-8-validate in serverExternalPackages so the copilot-m365-web WebSocket masking path works at runtime (bundling ws → TypeError: b.mask is not a function → 80s chat timeout). Regression guard in next-config.test.ts.

Co-authored-by: diegosouzapw <diegosouza.pw@gmail.com>
2026-07-03 16:36:35 -03:00

26 lines
912 B
TypeScript

import type { RegistryEntry } from "../../shared.ts";
export const blackboxProvider: RegistryEntry = {
id: "blackbox",
alias: "bb",
format: "openai",
executor: "default",
baseUrl: "https://api.blackbox.ai/v1/chat/completions",
modelsUrl: "https://api.blackbox.ai/v1/models",
authType: "apikey",
authHeader: "bearer",
models: [
{ id: "claude-fable-5", name: "Claude Fable 5" },
{ id: "claude-opus-4.8", name: "Claude Opus 4.8" },
{ id: "claude-sonnet-5", name: "Claude Sonnet 5" },
{ id: "claude-sonnet-4.6", name: "Claude Sonnet 4.6" },
{ id: "gpt-5.5", name: "GPT-5.5" },
{ id: "gpt-5.4-pro", name: "GPT-5.4 Pro" },
{ id: "gpt-5.4", name: "GPT-5.4" },
{ id: "gpt-5.3-codex", name: "GPT-5.3 Codex" },
{ id: "gpt-5.4-nano", name: "GPT-5.4 Nano" },
{ id: "deepseek-v4-flash", name: "DeepSeek V4 Flash" },
{ id: "grok-4.3", name: "Grok 4.3" },
],
};