mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
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>
16 lines
403 B
TypeScript
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,
|
|
};
|