mirror of
https://github.com/leonvanzyl/autocoder.git
synced 2026-03-17 10:53:09 +00:00
Remove legacy env-var-based provider/mode detection that caused misleading UI badges (e.g., GLM badge showing when Settings was set to Claude). Key changes: - Remove _is_glm_mode() and _is_ollama_mode() env-var sniffing functions from server/routers/settings.py; derive glm_mode/ollama_mode purely from the api_provider setting - Remove `import os` from settings router (no longer needed) - Update schema comments to reflect settings-based derivation - Remove "(configured via .env)" from badge tooltips in App.tsx - Remove Kimi/GLM/Ollama/Playwright-headless sections from .env.example; add note pointing to Settings UI - Update CLAUDE.md and README.md documentation to reference Settings UI for alternative provider configuration - Update model IDs from claude-opus-4-5-20251101 to claude-opus-4-6 across registry, client, chat sessions, tests, and UI defaults - Add LEGACY_MODEL_MAP with auto-migration in get_all_settings() - Show model ID subtitle in SettingsModal model selector - Add Vertex passthrough test for claude-opus-4-6 (no date suffix) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
1.6 KiB
Plaintext
37 lines
1.6 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 (GLM, Ollama, Kimi, Custom)
|
|
# ===================
|
|
# Configure alternative providers via the Settings UI (gear icon > API Provider).
|
|
# The Settings UI is the recommended way to switch providers and models.
|