File size: 794 Bytes
9087b79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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."