Skip to content

7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.

TypeScript
729 B
Raw Blame
// Child process for lib/stdio-epipe-loop.test.ts. Boots the same three pieces
// index.ts installs before anything else logs (console redaction + its
// server_logs tap, the process safety net, the DB), then logs a warn on a
// timer the way the health checker does. The parent closes our stdout/stderr
// after "child ready", so every later console write hits a dead pipe.
import { installLogRedaction } from '../../lib/log-redaction.js';
import { installProcessSafetyNet } from '../../lib/process-safety-net.js';
import { initDb } from '../../db/index.js';

installLogRedaction();
installProcessSafetyNet();
initDb(process.argv[2]);
console.log('child ready');
setInterval(() => console.warn('[fixture] periodic warn'), 500);