feat(ai): refactor provider definitions (#11368)

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.
This commit is contained in:
Armin Ronacher 2026-10-28 11:06:10 +01:00 • committed by GitHub
parent 068e972c7b
commit 2e0f175bd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
120 changed files with 3952 additions and 3899 deletions

View file

@ -29,6 +29,7 @@
"scripts/model-catalog-protocol.test.ts",
"packages/*/src/**/*.ts",
"packages/*/test/**/*.ts",
"packages/ai/catalog/**/*.ts",
"packages/coding-agent/examples/**/*.ts",
"packages/agent/examples/**/*.ts",
"!**/node_modules/**/*",