PHhTTPS's picture
feat(cli): Add setup_env.sh example script
9087b79
#!/usr/bin/env bash
# This script provides example environment variables for routing CLI tools
# through CLIProxyAPI Plus.
#
# Usage:
# 1. Edit the variables below with your actual API keys and proxy URL.
# 2. Source this file: source examples/cli-config/setup_env.sh
# The base URL of your CLIProxyAPI Plus instance
export PROXY_BASE_URL="http://localhost:7860/v1"
# Claude Code configuration
# export ANTHROPIC_BASE_URL="${PROXY_BASE_URL}"
# export ANTHROPIC_API_KEY="your-api-key"
# Open Interpreter / Generic OpenAI configuration
# export OPENAI_API_BASE="${PROXY_BASE_URL}"
# export OPENAI_API_KEY="your-api-key"
echo "CLI routing environment variables initialized (but commented out by default)."
echo "Edit this script and uncomment the lines to activate specific tool routing."