types/ai.ts

dbx · apps/desktop/src/types/ai.ts · typescript · Apache-2.0
ai

TypeScript definitions for AI provider configuration and capabilities.

// Source: https://github.com/t8y2/dbx | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
export type AiProvider =
  | "claude"
  | "openai"
  | "gemini"
  | "deepseek"
  | "kimi"
  | "qwen"
  | "zhipu"
  | "minimax"
  | "ollama"
  | "anthropic-compatible"
  | "openai-compatible"
  | "claude-code-cli"
  | "pi-agent-cli"
  | "codex-cli"
  | "opencode-cli"
  | "cursor-cli"
  | "grok-cli"
  | "codebuddy-cli"
  | "qoder-cli"
  | "custom";
export type AiApiStyle = "completions" | "responses" | "anthropic-messages";
export type AiAuthMethod = "api-key" | "bearer";
export type AiEffortLevel = "low" | "medium" | "high" | "xhigh" | "max";
export type AiReasoningLevel = "default" | "minimal" |

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key