repo_description: A cross-platform desktop All-in-One assistant tool for Claude Code, Codex, OpenCode, openclaw & Gemini CLI.
repo_topics: ai-tools claude-code codex desktop-app mcp minimax omo open-source openclaw openclaw-ui opencode provider-management rust skills skills-management tauri typescript wsl-support
code: /**
   * Codex 配置模板
   * 用于新建自定义供应商时的默认配置
   */
  
  export interface CodexTemplate {
    auth: Record<string, any>;
    config: string;
  }
  
  /**
   * 获取 Codex 自定义模板
   * @returns Codex 模板配置
   */
  export function getCodexCustomTemplate(): CodexTemplate {
    const config = `model_provider = "custom"
  model = "gpt-5.4"
  model_reasoning_effort = "high"
  disable_response_storage = true
  
  [model_providers.custom]
  name = "custom"
  wire_api = "responses"
  requires_openai_auth = true`;
  
    return {
      auth: { OPENAI_API_KEY: "" },
      config,
    };
  }
  