mkdir -p ~/.aihubmix-claude-code && cat > ~/.aihubmix-claude-code/config.json <<EOF
{
"API_KEY": "sk-***",
"HOST": "127.0.0.1",
"PORT": 3456,
"LOG": true,
"API_TIMEOUT_MS": 30000,
"Router": {
"default": "gpt-5",
"background": "claude-3-5-haiku-20241022",
"think": "gpt-5",
"longContext": "gpt-5",
"longContextThreshold": 60000,
"webSearch": "gemini-2.0-flash-search"
}
}
EOF