mirror of
https://github.com/jasonxu114514/opencode2api.git
synced 2026-12-05 08:02:53 +00:00
Log a 240-char snippet of non-2xx upstream bodies (upstream_error_body) so the 400 class is visible without dumping full payloads; the hub redactor scrubs configured secrets. Also log skipped fallback tiers (fallback_tier_skipped) at debug when a non-preferred tier's request shape fails to prepare, instead of silently dropping the tier.