Skip to content

fix: opencode-go 用量解析失败:上游响应新增字段导致 $R[N] 索引偏移 - #3

Open
webbrain-one wants to merge 1 commit into
Yinxe:masterfrom
webbrain-one:webbrain/issue-2
Open

fix: opencode-go 用量解析失败:上游响应新增字段导致 $R[N] 索引偏移#3
webbrain-one wants to merge 1 commit into
Yinxe:masterfrom
webbrain-one:webbrain/issue-2

Conversation

@webbrain-one

Copy link
Copy Markdown

Closes #2

Patch generated by qwen3.8-27b-nvfp4 via local API.

The upstream quota response added fields before the usage objects, changing
the serialized $R registry indices. Stop hardcoding $R[1]/$R[2]/$R[3] and
parse usage values by field association so quota fetching works again.

Patch generated by qwen3.8-27b-nvfp4 via local API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opencode-go 用量解析失败:上游响应新增字段导致 $R[N] 索引偏移

1 participant