mirror of
https://github.com/jasonxu114514/opencode2api.git
synced 2026-12-05 08:02:53 +00:00
Discovery clients only saw reasoning: true, so harnesses such as OpenClaw offered just off and max. Reasoning models now list the levels the gateway forwards in reasoning_efforts and compat.supportedReasoningEfforts, capped at the probed ceiling for auto, and report a forced or probed level as default_reasoning_effort. Models with published pricing carry a cost object, including cache read and write prices now decoded from models.dev. Closes #65.