Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

675 B
Raw Blame
-- 119_model_capability_overrides.sql
-- Manual model capability overrides per provider/model target. The UI stores targets
-- in the same provider/model shape used by combos, so provider-specific model caps do
-- not leak across providers that expose the same model id.

CREATE TABLE IF NOT EXISTS model_capability_overrides (
  provider TEXT NOT NULL,
  model_id TEXT NOT NULL,
  override_key TEXT NOT NULL,
  override_value TEXT NOT NULL,
  refreshed_at TEXT NOT NULL DEFAULT (datetime('now')),
  PRIMARY KEY (provider, model_id, override_key)
) WITHOUT ROWID;

CREATE INDEX IF NOT EXISTS idx_model_capability_overrides_key
  ON model_capability_overrides (override_key);