Skip to content

Add Qwen Code provider and local quota tracking - #7

Merged
slkiser merged 1 commit into
mainfrom
6-provider-request-add-support-for-qwen-coder
Feb 24, 2026
Merged

Add Qwen Code provider and local quota tracking#7
slkiser merged 1 commit into
mainfrom
6-provider-request-add-support-for-qwen-coder

Conversation

@slkiser

@slkiser slkiser commented Feb 24, 2026

Copy link
Copy Markdown
Owner

Introduce support for Qwen Code (OAuth) with a local-only quota estimator and integrate it into the plugin. Adds a new qwen-local-quota module to track daily and RPM counts, compute quota, persist state, and record completions; a qwen-code provider to surface grouped/classic toast entries; and provider registry/config updates to recognize "qwen-code". Add readAuthFileCached (with test helper) to reduce auth file IO and use it in availability/fetch checks. Update plugin logic to record Qwen completions on successful question executions, bypass toast cache for Qwen when needed, and add provider fetch caching. Update types, normalize provider ids, README docs, and add unit tests for local quota, provider, and plugin hook behavior.

Introduce support for Qwen Code (OAuth) with a local-only quota estimator and integrate it into the plugin. Adds a new qwen-local-quota module to track daily and RPM counts, compute quota, persist state, and record completions; a qwen-code provider to surface grouped/classic toast entries; and provider registry/config updates to recognize "qwen-code". Add readAuthFileCached (with test helper) to reduce auth file IO and use it in availability/fetch checks. Update plugin logic to record Qwen completions on successful question executions, bypass toast cache for Qwen when needed, and add provider fetch caching. Update types, normalize provider ids, README docs, and add unit tests for local quota, provider, and plugin hook behavior.
@slkiser slkiser linked an issue Feb 24, 2026 that may be closed by this pull request
@slkiser
slkiser merged commit 3a36c4e into main Feb 24, 2026
3 checks passed
@slkiser
slkiser deleted the 6-provider-request-add-support-for-qwen-coder branch July 9, 2026 12:05
dmmop pushed a commit to dmmop/opencode-quota-v2 that referenced this pull request Aug 5, 2026
…ort-for-qwen-coder

Add Qwen Code provider and local quota tracking
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.

[Provider request] Add support for Qwen Coder

1 participant