Files
2026-11-10 19:04:27 +08:00

47 lines
1.7 KiB
Bash

# Copy to backend/.env.local (ignored). Never put real keys into Git.
# Use either your own key or the existing server-side profile:
DEEPSEEK_API_KEY=
# AI_PCB_CODEX_HOME=/absolute/private/deepseek-profile
AI_PCB_MODEL=deepseek-flash
DEEPSEEK_BASE_URL=https://api.deepseek.com
AI_PCB_EDA_BACKEND=easyeda
AI_PCB_MODE=real
AI_PCB_API_HOST=127.0.0.1
AI_PCB_API_PORT=8002
# Runtime data belongs outside the repository:
# AI_PCB_API_DATA=/absolute/private/vibemake-pcb-data
# KICAD_CLI=/usr/bin/kicad-cli
# KICAD_PYTHON=/usr/bin/python3
AI_PCB_TASK_SECONDS=10800
AI_PCB_ROUTER_SECONDS=180
AI_PCB_MODEL_TIMEOUT=1800
AI_PCB_MODEL_IDLE_TIMEOUT=300
AI_PCB_COMMAND_TIMEOUT=21600
# EasyEDA Pro must be running and connected on the backend host.
# DISPLAY=:1
# AI_PCB_EDA_EXECUTABLE=/absolute/path/to/lceda-pro
AI_PCB_EDA_EXTRA_ARGS=--no-sandbox
AI_PCB_MAX_ROUNDS=48
AI_PCB_DESIGN_SECONDS=10800
# AI_PCB_REFERENCE_ROOT=/absolute/path/to/reference-library
# AI_PCB_BLENDER=blender
# Model selection is server-only. Existing tasks retain their saved provider.
AI_PCB_PROVIDER=codex
# Codex is pinned to gpt-6.1-sol / medium (not a frontend preference).
# Production/hosted mode: independent OpenAI API credentials.
AI_PCB_CODEX_AUTH=apikey
OPENAI_API_KEY=
# OPENAI_API_KEY_FILE=/absolute/private/openai-api-key.txt
OPENAI_BASE_URL=https://api.openai.com/v1
# AI_PCB_CODEX_EXECUTABLE=/absolute/path/to/codex
# AI_PCB_OPENAI_CODEX_HOME=/absolute/private/codex-service-profile
# AI_PCB_MODEL_CONFIG=/absolute/private/model-provider.json
# Personal local R&D only: AI_PCB_CODEX_AUTH=chatgpt with an existing Codex login.
# AI_PCB_CODEX_LOGIN_HOME=/absolute/private/personal-codex-profile
# Personal login, OpenAI API profile, and DeepSeek AI_PCB_CODEX_HOME are separate.