mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-03-16 18:33:08 +00:00
- Add "Azure Anthropic (Claude)" to API_PROVIDERS in registry.py with ANTHROPIC_API_KEY auth (required for Claude CLI to route through custom base URL instead of default Anthropic endpoint) - Add Azure env var template to .env.example - Show Base URL input field for Azure provider in Settings UI with "Configured" state and Azure-specific placeholder - Widen Settings modal for better readability with long URLs - Add Azure endpoint detection and "Azure Mode" log label - Rename misleading "GLM Mode" fallback label to "Alternative API" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
64 lines
2.4 KiB
Plaintext
64 lines
2.4 KiB
Plaintext
# Optional: N8N webhook for progress notifications
|
|
# PROGRESS_N8N_WEBHOOK_URL=https://your-n8n-instance.com/webhook/...
|
|
|
|
# Playwright Browser Configuration
|
|
#
|
|
# PLAYWRIGHT_BROWSER: Which browser to use for testing
|
|
# - firefox: Lower CPU usage, recommended (default)
|
|
# - chrome: Google Chrome
|
|
# - webkit: Safari engine
|
|
# - msedge: Microsoft Edge
|
|
# PLAYWRIGHT_BROWSER=firefox
|
|
|
|
# Extra Read Paths (Optional)
|
|
# Comma-separated list of absolute paths for read-only access to external directories.
|
|
# The agent can read files from these paths but cannot write to them.
|
|
# Useful for referencing documentation, shared libraries, or other projects.
|
|
# Example: EXTRA_READ_PATHS=/Volumes/Data/dev,/Users/shared/libs
|
|
# EXTRA_READ_PATHS=
|
|
|
|
# Google Cloud Vertex AI Configuration (Optional)
|
|
# To use Claude via Vertex AI on Google Cloud Platform, uncomment and set these variables.
|
|
# Requires: gcloud CLI installed and authenticated (run: gcloud auth application-default login)
|
|
# Note: Use @ instead of - in model names for date-suffixed models (e.g., claude-sonnet-4-5@20250929)
|
|
#
|
|
# CLAUDE_CODE_USE_VERTEX=1
|
|
# CLOUD_ML_REGION=us-east5
|
|
# ANTHROPIC_VERTEX_PROJECT_ID=your-gcp-project-id
|
|
# ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-6
|
|
# ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-4-5@20250929
|
|
# ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-3-5-haiku@20241022
|
|
|
|
# ===================
|
|
# Alternative API Providers (Azure, GLM, Ollama, Kimi, Custom)
|
|
# ===================
|
|
# Configure via Settings UI (recommended) or set env vars below.
|
|
# When both are set, env vars take precedence.
|
|
#
|
|
# Azure Anthropic (Claude):
|
|
# ANTHROPIC_BASE_URL=https://your-resource.services.ai.azure.com/anthropic
|
|
# ANTHROPIC_API_KEY=your-azure-api-key
|
|
# ANTHROPIC_DEFAULT_OPUS_MODEL=claude-opus-4-6
|
|
# ANTHROPIC_DEFAULT_SONNET_MODEL=claude-sonnet-4-5
|
|
# ANTHROPIC_DEFAULT_HAIKU_MODEL=claude-haiku-4-5
|
|
#
|
|
# GLM (Zhipu AI):
|
|
# ANTHROPIC_BASE_URL=https://api.z.ai/api/anthropic
|
|
# ANTHROPIC_AUTH_TOKEN=your-glm-api-key
|
|
# ANTHROPIC_DEFAULT_OPUS_MODEL=glm-4.7
|
|
# ANTHROPIC_DEFAULT_SONNET_MODEL=glm-4.7
|
|
# ANTHROPIC_DEFAULT_HAIKU_MODEL=glm-4.7
|
|
#
|
|
# Ollama (Local):
|
|
# ANTHROPIC_BASE_URL=http://localhost:11434
|
|
# ANTHROPIC_DEFAULT_OPUS_MODEL=qwen3-coder
|
|
# ANTHROPIC_DEFAULT_SONNET_MODEL=qwen3-coder
|
|
# ANTHROPIC_DEFAULT_HAIKU_MODEL=qwen3-coder
|
|
#
|
|
# Kimi (Moonshot):
|
|
# ANTHROPIC_BASE_URL=https://api.kimi.com/coding/
|
|
# ANTHROPIC_API_KEY=your-kimi-api-key
|
|
# ANTHROPIC_DEFAULT_OPUS_MODEL=kimi-k2.5
|
|
# ANTHROPIC_DEFAULT_SONNET_MODEL=kimi-k2.5
|
|
# ANTHROPIC_DEFAULT_HAIKU_MODEL=kimi-k2.5
|