fix: classify upstream failures and prevent empty billed responses

This commit is contained in:
wlx committed 2026-09-28 04:55:00 +08:00
1 parent b455d8d79f
commit 9acc69d4c7
28 files changed
+1449 -131

No files matched your search

+3
View File
@@ -46,6 +46,9 @@ GATEWAY_DEFAULT_MODEL_CONCURRENCY=4
GATEWAY_DEFAULT_KEY_CONCURRENCY=4
TASK_MAX_QUEUED_PER_MODEL=100
MOYI_TASK_WORKER_INTERVAL_MS=1000
# Accepted async tasks retry polling for up to this duration, then release
# their wallet hold with an unknown-result timeout (upstream is not cancelled).
MOYI_TASK_PROVIDER_TIMEOUT_MS=3600000
# Registration requires a valid invitation AND an email/SMS verification code.
# Unconfigured channels fail closed; admins can still create user accounts.