Local models

This commit is contained in:
2026-02-22 18:04:01 +00:00
parent e35b7340f3
commit 1372f53782
8 changed files with 640 additions and 58 deletions
+6
View File
@@ -1,4 +1,10 @@
import { mkdirSync } from 'node:fs';
import { DATA_PATH } from './data-path';
import { syncLocalProvidersToPiConfig } from './api/server-settings/sync-pi-config';
mkdirSync(DATA_PATH, { recursive: true });
// Sync local providers to Pi config on startup
syncLocalProvidersToPiConfig().catch(err => {
console.error('Failed to sync local providers to Pi config on startup:', err);
});