mirror of
https://github.com/jasonxu114514/opencode2api.git
synced 2026-12-05 08:02:53 +00:00
The free tier refuses the literal "clint_" in a tool name: the same shaped body is answered with 429 FreeUsageLimitError under clint_ and completes normally under any other prefix, so the rename itself is accepted and the prefix alone is what the gate matches. Keep the wire-name namespace a plain tool-like name instead of a gateway marker, and stop printing the literal in the READMEs so the docs do not pin a value that has to rotate. Verified live on a build of this commit: the captured 20-tool CLI body returns 200 and its tool call round-trips; the same build with the constant reverted returns 429. vet, gofmt, Linux and Windows builds pass.