Claude Code Manual Setup
If you do not use CC Switch, you can manually connect Claude Code or compatible CLI tools to Codebyby. Exact fields depend on your client version.
Prepare
In the Codebyby console, prepare:
- API key
- Base URL
- Available model name
Environment variables
For OpenAI-compatible clients, configure variables like:
bash
export OPENAI_API_KEY="your Codebyby API key"
export OPENAI_BASE_URL="Base URL shown in the console"PowerShell:
powershell
$env:OPENAI_API_KEY="your Codebyby API key"
$env:OPENAI_BASE_URL="Base URL shown in the console"Config file
Some tools read their own config files. Fill in only the base URL. Do not append /chat/completions or similar endpoint paths unless the client explicitly requires it.
Test
Send a short prompt:
text
Reply in one sentence whether the current connection works.If it returns normally, authentication, endpoint, and model configuration are basically correct.