mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
This builds the model catalog from per-provider definitions and models.dev v2 data. It eplacer `generate-models.ts` with one `defineProvider()` file per built-in provider, shared model-family rules (Claude, GPT, DeepSeek, Kimi, Google), and source adapters. models.dev is read through its v2 API. Outputs and CLI flags are unchanged.
7 lines
239 B
TypeScript
7 lines
239 B
TypeScript
import { defineProvider } from "../define.ts";
|
|
import { minimaxModels } from "./minimax.ts";
|
|
|
|
export default defineProvider({
|
|
id: "minimax-cn",
|
|
models: (ctx) => minimaxModels(ctx, "minimax-cn", "https://api.minimaxi.com/anthropic"),
|
|
});
|