1. 安装 Codex
从 Codex CLI GitHub 安装 Codex。2. 配置 Starrise AI
在您的 shell 配置文件(.bashrc、.zshrc 或 .profile)中:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
将 Starrise AI 模型与 Codex 集成——终端中的 AI 编码代理。
.bashrc、.zshrc 或 .profile)中:
export OPENAI_API_KEY="sk-your-api-key-here"
export OPENAI_BASE_URL="https://ai.alad.com/v1"
# bash 用户
source ~/.bashrc
# zsh 用户
source ~/.zshrc
codex
codex --model gpt-4o
