Repository navigation
Conversation
|
Thanks @darfink. This looks great and I definitely want to merge it. I'm holding off on merging right now because we need to give users more time to upgrade to v8 before cutting a breaking release, and I'm still on CLIProxyAPI v7 myself. I'll keep this PR open and merge it once the v8 transition window makes sense. |
2876c01 to
441a14e
Compare
|
I pushed another update:
OpenCode Go’s catalog omits reasoning-effort metadata. The plugin now advertises verified options per model and route, with conservative defaults for other models. Model discovery remains dynamic, and metadata supplied by OpenCode Go takes priority. Also fixed Muse Spark’s Codex tool compatibility using CLIProxyAPI’s SDK tool mapping and removed the unsupported search_content_types field. Requested reasoning controls, media, and usage remain intact. Incompatible historical reasoning and compaction items are dropped for Muse Spark and Grok to prevent replay errors. |
|
Every PR should focus on one thing, now the PR has fixes and features together, Please read CONTRIBUTING.md |
Migrate the SDK imports to v8 and replace the separate quota page with the generic quota provider API. Preserve credential identity and custom labels, support optional account names, and prevent duplicate records at cold start. Keep model reasoning metadata and protocol compatibility changes outside this commit. Verify local builds and tests with the debug tag.
441a14e to
e908905
Compare
|
I've omitted the fixes for the Muse protocol & the adjusted reasoning efforts for available models - it now only contains the original v8/native-quota integration. However, feel free to merge #12 instead if deemed more fitting. |
This PR moves the plugin to CLIProxyAPI v8 and replaces its separate quota page with native quota integration.
Changes
quota_providerand implementquota.identifier,quota.describe, andquota.fetch.nameon API key entries and use readable account labels.The plugin version becomes 0.2.0 and requires CLIProxyAPI v8.0.0 or later.
Quota reset remains unsupported.
Scope
Model-specific reasoning metadata and additional Muse Spark/Responses compatibility fixes remain local.
They are not part of this PR. Existing model discovery and protocol behavior from main remain unchanged.
The release notes retain the existing entries. README local build and test commands now use the required
debugtag.Validation
go test -tags debug ./...passed offline with mock host clients.go vet ./...passed.-tags debug -buildmode=c-shared.No live API calls or local service deployment were part of this verification.