mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-28 11:30:03 +00:00
57 lines
No EOL
1.7 KiB
Text
57 lines
No EOL
1.7 KiB
Text
# ==================== NVIDIA NIM Config ====================
|
|
NVIDIA_NIM_API_KEY="nvapi-..."
|
|
|
|
# ==================== Model ====================
|
|
# All Claude model requests are mapped to this model
|
|
MODEL="moonshotai/kimi-k2-thinking"
|
|
|
|
# ==================== Rate Limiting ====================
|
|
NVIDIA_NIM_RATE_LIMIT=40 # Requests per window
|
|
NVIDIA_NIM_RATE_WINDOW=60 # Window in seconds (40 req/min = free tier)
|
|
|
|
# ==================== Fast Prefix Detection ====================
|
|
# Skip LLM call for Claude Code bash command prefix classification
|
|
FAST_PREFIX_DETECTION=true
|
|
|
|
# Logging
|
|
LOG_FULL_PAYLOADS=false
|
|
|
|
# ==================== Optional NIM Parameters ====================
|
|
# These are passed to the NIM API if set
|
|
|
|
# Core parameters
|
|
NVIDIA_NIM_TEMPERATURE=1.0
|
|
NVIDIA_NIM_TOP_P=1.0
|
|
NVIDIA_NIM_TOP_K=-1
|
|
NVIDIA_NIM_MAX_TOKENS=81920
|
|
NVIDIA_NIM_PRESENCE_PENALTY=0.0
|
|
NVIDIA_NIM_FREQUENCY_PENALTY=0.0
|
|
|
|
# Advanced parameters
|
|
NVIDIA_NIM_MIN_P=0.0
|
|
NVIDIA_NIM_REPETITION_PENALTY=1.0
|
|
NVIDIA_NIM_SEED=
|
|
NVIDIA_NIM_STOP=
|
|
|
|
# Flag parameters (true/false)
|
|
NVIDIA_NIM_PARALLEL_TOOL_CALLS=true
|
|
NVIDIA_NIM_RETURN_TOKENS_AS_TOKEN_IDS=false
|
|
NVIDIA_NIM_INCLUDE_STOP_STR_IN_OUTPUT=false
|
|
NVIDIA_NIM_IGNORE_EOS=false
|
|
|
|
NVIDIA_NIM_MIN_TOKENS=0
|
|
NVIDIA_NIM_CHAT_TEMPLATE=""
|
|
NVIDIA_NIM_REQUEST_ID=""
|
|
|
|
# Thinking/Reasoning Parameters (passed via extra_body)
|
|
NVIDIA_NIM_REASONING_EFFORT=high
|
|
NVIDIA_NIM_INCLUDE_REASONING=true
|
|
|
|
# ==================== Bot Wrapper Config ====================
|
|
TELEGRAM_API_ID="123456"
|
|
TELEGRAM_API_HASH="abcdef123456..."
|
|
ALLOWED_TELEGRAM_USER_ID="YOUR_TELEGRAM_USER_ID"
|
|
CLAUDE_WORKSPACE="./agent_workspace"
|
|
ALLOWED_DIR="C:/Users/YourName/projects/myproject"
|
|
MAX_CLI_SESSIONS=10 # Maximum parallel Claude CLI instances
|
|
WRAPPER_WS_URL="ws://localhost:8083/ws" |