- add server-side .env.local OpenAI key management for the open-source app - route AI features through the preferred local key path and lazy-load embed recovery - rewrite README and docs for current MCP setup, schema, and fully-local guidance Generated with Claude Code
7 lines
210 B
TypeScript
7 lines
210 B
TypeScript
export async function register() {
|
|
if (process.env.NEXT_RUNTIME === 'nodejs') {
|
|
const { startAutoEmbedRecovery } = await import('@/services/embedding/autoEmbedQueue');
|
|
startAutoEmbedRecovery();
|
|
}
|
|
}
|