// Runs the scripted OpenAI-compatible mock used by the tests, so the AI features can be tried // locally without a real provider: // npx tsx scripts/mock-ai.ts // Then add an "OpenAI-compatible" provider with URL http://localhost:4010/v1 and key "mock-key". import { startMockAi } from '../tests/mockAi.ts'; const mock = await startMockAi(Number(process.env.MOCK_AI_PORT ?? 4010)); console.log(`Mock AI provider listening at ${mock.url} (API key: mock-key)`);