Skip to content

fix: use correct token_plan/remains endpoint#104

Merged
RyanLee-Dev merged 1 commit intomainfrom
fix/quota-endpoint
Apr 16, 2026
Merged

fix: use correct token_plan/remains endpoint#104
RyanLee-Dev merged 1 commit intomainfrom
fix/quota-endpoint

Conversation

@RyanLee-Dev
Copy link
Copy Markdown
Collaborator

Summary

  • Switch quota endpoint from v1/api/openplatform/coding_plan/remains to v1/token_plan/remains
  • Fix usage calculation: current_interval_usage_count is used count, not remaining
  • Update test fixture to match real API response format
  • Bump version to 1.0.8

Test plan

  • mmx quota show returns correct data from new endpoint
  • curl verified both minimaxi.com and minimax.io domains work
  • Usage/remaining values match actual API response

The old endpoint v1/api/openplatform/coding_plan/remains returned
incorrect data. Switch to v1/token_plan/remains and fix the usage
calculation that previously treated usage_count as remaining.

Bump version to 1.0.8.
@RyanLee-Dev RyanLee-Dev merged commit f01ff17 into main Apr 16, 2026
0 of 2 checks passed
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.

1 participant