Codex CLI
Responses API के ज़रिए Codex को Webway पर चलाएँ।
1. इंस्टॉल करें
npm install -g @openai/codex
2. अपनी कुंजी जोड़ें
export WEBWAY_API_KEY="sk-ww-…"
3. Codex कॉन्फ़िगर करें
इसे ~/.codex/config.toml में जोड़ें:
model = "openai/gpt-5.6-terra"
model_provider = "webway"
[model_providers.webway]
name = "Webway"
base_url = "https://api.webway.sh/v1"
env_key = "WEBWAY_API_KEY"
wire_api = "responses"
requires_openai_auth = false
4. चलाएँ
codex
Codex कुंजी को WEBWAY_API_KEY से पढ़ता है और अनुरोध
POST /v1/responses पर भेजता है। model को मॉडल
तालिका से किसी भी संगत, प्रदाता-सहित ID में बदलें।