跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.anyfast.ai/llms.txt

Use this file to discover all available pages before exploring further.

1. 安装 Codex

Codex CLI GitHub 安装 Codex。

2. 配置 Anyfast

在您的 shell 配置文件(.bashrc.zshrc.profile)中:
export OPENAI_API_KEY="sk-your-api-key-here"
export OPENAI_BASE_URL="https://www.anyfast.ai/v1"

3. 应用配置

# bash 用户
source ~/.bashrc

# zsh 用户
source ~/.zshrc

4. 启动 Codex

codex
通过 CLI 指定模型:
codex --model gpt-4o
完成以上操作,即可开始在 Codex 中使用 Anyfast。