Files
OmniRoute/open-sse/config/providers/registry/x5lab/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

16 lines
403 B
TypeScript

import type { RegistryEntry } from "../../shared.ts";
export const x5labProvider: RegistryEntry = {
id: "x5lab",
alias: "x5lab",
format: "openai",
executor: "default",
baseUrl: "https://api.x5lab.dev/v1/chat/completions",
authType: "apikey",
authHeader: "bearer",
modelsUrl: "https://api.x5lab.dev/v1/models",
defaultContextLength: 128000,
models: [],
passthroughModels: true,
};