claude-codex 0.3.1

Run Claude Code on your Claude and ChatGPT subscriptions at once, routed per model name
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub fn resolve_model(model: &str) -> String {
    model.to_string()
}

pub fn assert_allowed_model(model: &str) -> anyhow::Result<()> {
    if matches!(model, "grok-composer-2.5-fast" | "grok-4.5") {
        Ok(())
    } else {
        anyhow::bail!("unsupported Grok model")
    }
}