feat(kilo): fetch free models from Kilo API + Windows build fixes (#455)

- Add /api/providers/kilo/free-models endpoint with 1hr cache
- Fetch and merge Kilo free models with hardcoded models for kilocode provider
- Display 'Free' badge on models fetched from Kilo API
- Fix Windows build: add cross-env, remove --webpack flag, add turbopack config
- Add outputFileTracingExcludes for Windows system directories
This commit is contained in:
Vishal Raj V
2026-03-31 07:52:21 +05:30
committed by GitHub
parent ffa172c92d
commit 8640503b36
4 changed files with 89 additions and 5 deletions

View File

@@ -5,8 +5,8 @@
"private": true,
"scripts": {
"dev": "next dev --webpack --port 20128",
"build": "NODE_ENV=production next build --webpack",
"start": "NODE_ENV=production next start",
"build": "cross-env NODE_ENV=production next build",
"start": "cross-env NODE_ENV=production next start",
"dev:bun": "bun --bun next dev --webpack --port 20128",
"build:bun": "NODE_ENV=production bun --bun next build --webpack",
"start:bun": "NODE_ENV=production bun ./.next/standalone/server.js"
@@ -44,6 +44,7 @@
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.18",
"cross-env": "^10.1.0",
"eslint": "^9",
"eslint-config-next": "16.1.6",
"postcss": "^8.5.6",