mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
Release v3.8.46. Full changelog: CHANGELOG.md → [3.8.46]. Contributor attribution in the CHANGELOG entries.
12 lines
391 B
TypeScript
12 lines
391 B
TypeScript
import type { RegistryEntry } from "../../shared.ts";
|
|
import { buildOpenAiCompatibleRegistryEntry } from "../../shared.ts";
|
|
|
|
export const hcnsecProvider: RegistryEntry = buildOpenAiCompatibleRegistryEntry({
|
|
id: "hcnsec",
|
|
alias: "hcnsec",
|
|
baseUrl: "https://api.hcnsec.cn/v1/chat/completions",
|
|
modelsUrl: "https://api.hcnsec.cn/v1/models",
|
|
models: [],
|
|
passthroughModels: true,
|
|
});
|