-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
23 lines (17 loc) · 870 Bytes
/
.env.example
File metadata and controls
23 lines (17 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# OpenCAD service runtime configuration
# Hide OpenAPI/docs endpoints in production.
OPENCAD_ENABLE_DOCS=true
# Comma-separated allowlist for browser origins.
# Set this explicitly in production (example: https://cad.example.com)
OPENCAD_CORS_ALLOW_ORIGINS=http://127.0.0.1:5173,http://localhost:5173
# Kernel backend: analytic (default) or occt
OPENCAD_SOLVER_BACKEND=occt
# Solver backend: auto, solvespace, or python
OPENCAD_SOLVER_BACKEND=python
# Optional service wiring for tree/agent live kernel mode
OPENCAD_KERNEL_URL=http://127.0.0.1:8000
OPENCAD_TREE_LIVE_KERNEL=false
OPENCAD_AGENT_LIVE_KERNEL=false
# Optional multi-provider LLM support for code generation uses LiteLLM.
# Provider-specific credentials are still read from each provider's standard env vars.
# Example request fields: llm_provider="openai", llm_model="gpt-4o-mini", generate_code=true