feat: allow production provider bootstrap

This commit is contained in:
inman
2026-08-18 00:36:05 +08:00
parent 6480e503eb
commit 22fc7a56d8
21 changed files with 192 additions and 18 deletions

View File

@@ -37,6 +37,10 @@ ZHINIAN_WORKER_RETRY_BASE_MS=10000
ZHINIAN_WORKER_RETRY_MAX_MS=300000
ZHINIAN_WORKER_REQUEST_TIMEOUT_MS=120000
ZHINIAN_GO_EMBEDDED_WORKER=true
# Temporary production bootstrap only: allows the Go API to start before provider
# credentials are available. Generation and quote requests remain unavailable
# until credentials are saved and the Go API is restarted. Keep false/empty after setup.
ZHINIAN_ALLOW_UNCONFIGURED_PROVIDERS=false
# Data layer. Production and Docker Compose use PostgreSQL; set local only for
# an explicitly non-production single-process development run.