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

598 B
Raw Blame
/**
 * Built-in Oh My Pi (omp) model roles — the keys omp reads from
 * `modelRoles.<role>` in `~/.omp/agent/config.yml`
 * (https://github.com/can1357/oh-my-pi/blob/main/docs/models.md).
 *
 * OmniRoute only ever writes these official keys; custom role keys a user added
 * by hand are left untouched. Keep the list in this one place so omp schema
 * drift is a one-line change.
 */
export const OMP_ROLE_IDS = [
  "default",
  "smol",
  "slow",
  "vision",
  "plan",
  "designer",
  "commit",
  "tiny",
  "task",
  "advisor",
] as const;

export type OmpRoleId = (typeof OMP_ROLE_IDS)[number];