Skip to content

Commit b48e117

Browse files
committed
docs: add OAuth token acquisition instructions for Claude Code
Add user-friendly prompt when configuring Claude Code mode: - Inform users to run 'claude setup-token' to get OAuth token - Clear instructions for token acquisition - Improves user experience during interactive setup
1 parent dc8337b commit b48e117

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

all-in-one/get-ai-gateway.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,11 @@ configureClaudeProvider() {
836836
local use_claude_code=""
837837
read -r -u 3 -p "→ Use Claude Code mode with OAuth token? (y/N): " use_claude_code
838838
if [[ "$use_claude_code" =~ ^[Yy]$ ]]; then
839+
echo ""
840+
echo "Note: To obtain your Claude Code OAuth token, run this command:"
841+
echo " claude setup-token"
842+
echo "Copy the token and paste it below."
843+
echo ""
839844
read -r -u 3 -p "→ Enter OAuth Token for Claude Code: " CLAUDE_CODE_API_KEY
840845
if [ -n "$CLAUDE_CODE_API_KEY" ]; then
841846
LLM_ENVS+=("CLAUDE_CODE_API_KEY")

0 commit comments

Comments
 (0)