mirror of
https://github.com/decolua/9router.git
synced 2026-05-08 12:01:28 +00:00
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:
@@ -2,10 +2,18 @@
|
||||
const nextConfig = {
|
||||
output: "standalone",
|
||||
serverExternalPackages: ["better-sqlite3"],
|
||||
outputFileTracingExcludes: {
|
||||
"*": [
|
||||
"**/Cookies/**",
|
||||
"**/AppData/Local/**",
|
||||
"**/node_modules/.cache/**",
|
||||
],
|
||||
},
|
||||
images: {
|
||||
unoptimized: true
|
||||
},
|
||||
env: {},
|
||||
turbopack: {},
|
||||
webpack: (config, { isServer }) => {
|
||||
// Ignore fs/path modules in browser bundle
|
||||
if (!isServer) {
|
||||
|
||||
Reference in New Issue
Block a user