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.
14 lines
772 B
TypeScript
14 lines
772 B
TypeScript
// This file is auto-generated by catalog/generate.ts
|
|
// Do not edit manually - run 'npm run generate-models' to update
|
|
|
|
import values from "./data/mistral.json" with { type: "json" };
|
|
import { flattenChatModelCatalog, flattenClassifierModelCatalog, flattenImageModelCatalog, type ChatModelCatalog, type ClassifierModelCatalog, type ImageModelCatalog } from "../model-catalog.ts";
|
|
|
|
export const MISTRAL_MODELS: ChatModelCatalog<typeof values, "mistral"> =
|
|
flattenChatModelCatalog("mistral", values);
|
|
|
|
export const MISTRAL_IMAGE_MODELS: ImageModelCatalog<typeof values, "mistral"> =
|
|
flattenImageModelCatalog("mistral", values);
|
|
|
|
export const MISTRAL_CLASSIFIER_MODELS: ClassifierModelCatalog<typeof values, "mistral"> =
|
|
flattenClassifierModelCatalog("mistral", values);
|