Skip to content

aahl/codex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§‘β€πŸ’» CodeX in Docker

🐳 Usage

docker run --rm -it -v "$(pwd):/app" -v ~/.codex:/root/.codex ghcr.io/aahl/codex

πŸ‡¨πŸ‡³ GLM 4.5

使用GLMηš„ζœ€ζ–°ζ¨‘εž‹οΌˆglm-4.5οΌ‰ι©±εŠ¨ζ‚¨ηš„CodeX。申请ApiKey

GLMθΏ˜ζδΎ›δΊ†ε…Άδ»–εΎˆε€šε…θ΄Ήε₯½η”¨ηš„ζ¨‘εž‹οΌ

# vim ~/.codex/config.toml
[model_providers.glm]
name = "GLM Coding Plan"
env_key = "GLM_AUTH_TOKEN"
base_url = "https://open.bigmodel.cn/api/coding/paas/v4"

[profiles.glm45]
model = "glm-4.5"
model_provider = "glm"

[profiles.glm45flash]
model = "glm-4.5-flash"
model_provider = "glm"
# vim ~/.bashrc
export GLM_AUTH_TOKEN=your_glm_token
alias codex-glm='docker run --rm -it -v "$(pwd):/app" -v ~/.codex:/root/.codex -e GLM_AUTH_TOKEN="$GLM_AUTH_TOKEN" -e APT_MIRROR=mirrors.ustc.edu.cn -e NPM_REGISTRY=https://registry.npmmirror.com ghcr.nju.edu.cn/aahl/codex codex --profile glm45flash'

πŸ”— Links

About

πŸ§‘β€πŸ’» CodeX in docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages