fix(cliproxyapi): inject OPENCODE_API_KEY into config during startup
Changes
- Added
__OPENCODE_API_KEY__substitution to thesedblock instart.sh
Root Cause
Commit #1058 added the opencodezen provider (for minimax-m2.5) to config.template.yaml and set minimax-m2.5 as the default openclaw model, but the corresponding OPENCODE_API_KEY injection was missing from start.sh. As a result, cliproxyapi was authenticating to opencode.ai/zen/v1 with the literal string __OPENCODE_API_KEY__, causing all minimax-m2.5 requests to fail and breaking openclaw's gateway.
Testing
- Restart
cliproxyapiand verifyminimax-m2.5requests succeed via cliproxy - Ensure
OPENCODE_API_KEYis set in~/dotfiles/.envon Kyber
Generated with Claude Code by claude-sonnet-4-6
Summary by cubic
Injects OPENCODE_API_KEY into cliproxyapi startup config to restore auth against opencode.ai/zen/v1, fixing failed minimax-m2.5 requests and unblocking the openclaw gateway. Also updates fish tests and an internal function name to match the _cltxe/_cltxeh/_clwxe/_clwxeh rename, resolving the fish-test CI failure.