🧊 Chore: Shelve File API (v0.4.0) — HTTP 404 issue#3
Merged
ryanlee666 merged 1 commit intoMiniMax-AI:mainfrom Mar 28, 2026
Merged
🧊 Chore: Shelve File API (v0.4.0) — HTTP 404 issue#3ryanlee666 merged 1 commit intoMiniMax-AI:mainfrom
ryanlee666 merged 1 commit intoMiniMax-AI:mainfrom
Conversation
- Comment out file upload/list/delete imports and registry entries - Remove file commands from help text - Update README: remove file from What's New, Commands table, and Examples - Mark v0.4.0 as shelved in Changelog with explanation Reason: MiniMax File API returns HTTP 404 with current API key. Feature is preserved in code for easy recovery when endpoint permissions open.
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
原因
当前 API key 缺少文件上传权限,minimax file upload 接口返回 HTTP 404 错误。经 --verbose 模式验证,接口路径和请求处理逻辑均正确,问题源于 MiniMax 官方尚未开放 File API 权限。
改动内容
1. src/registry.ts
2. README.md
恢复方式
接口权限开放后,取消 src/registry.ts 中的注释即可快速恢复:
验证