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
408 B
Raw Blame
// Migration: <short description>
// Created: <YYYY-MM-DD>
//
// DOWN: <reversible | irreversible - reason>

import type { Db } from '../types.js';

export function up(db: Db): void {
  db.exec(`
    -- your SQL here
  `);
}

export function down(db: Db): void {
  // If reversible:
  db.exec(`
    -- inverse SQL here
  `);

  // If irreversible:
  // throw new Error('irreversible migration: <reason>');
}