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.
45 lines
1 KiB
JSON
45 lines
1 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.3.5/schema.json",
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"useConst": "error",
|
|
"useNodejsImportProtocol": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noControlCharactersInRegex": "off",
|
|
"noEmptyInterface": "off"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": false,
|
|
"indentStyle": "tab",
|
|
"indentWidth": 3,
|
|
"lineWidth": 120
|
|
},
|
|
"files": {
|
|
"includes": [
|
|
"scripts/model-catalog-protocol.ts",
|
|
"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/**/*",
|
|
"!**/test-sessions.ts",
|
|
"!**/models.generated.ts",
|
|
"!**/*.models.ts",
|
|
"!packages/mom/data/**/*",
|
|
"!!**/node_modules",
|
|
"!!apps"
|
|
]
|
|
},
|
|
"plugins": ["./scripts/biome/model-type-comparison.grit"]
|
|
}
|