Follow-up to #107: /v1/coding_plan/search API needs pagination support
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- python
调研方向
从 MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py 开始,检查 web_search 工具,然后跟踪代理 /v1/coding_plan/search 的底层 API gateway。确认可以在哪里实现分页参数和响应行为。完成标准是 API 接受有文档说明的 count 以及 page 或 offset 机制,之后 CLI 和 SDK 才能提供相匹配的选项。
由索引模型根据 Issue 内容生成。
描述
Follow-up to #107
Issue #107 (closed by docs-only PR) asked for pagination on mmx search query because the API returns at most 10 results per call.
Investigation result
The /v1/coding_plan/search endpoint does not currently expose any pagination parameter. The canonical reference client (MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py, web_search) only sends {"q": query} and the response is just { organic: [...], related_searches: [...] } — no count, page, limit, or offset is accepted or returned.
In other words, the 10-result cap is a hard limit imposed by the API, not by the CLI. The CLI cannot expose pagination flags that the server will not honor.
What is needed on the API side
To make #107 actionable, the /v1/coding_plan/search endpoint needs to accept a pagination mechanism. The simplest options would be:
- Add a
countparameter (1–N, default 10) so callers can request larger pages, and - Add an
offsetorpageparameter (1-indexed or 0-indexed) so callers can paginate beyond the first page.
Both should be added to:
MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py(web_searchtool)- Any underlying API gateway that proxies the request
Once the API supports these, the CLI can be updated to expose --page and --limit flags (and the SDK's SearchSDK.query can accept the same options).
Tracking
Closing the docs gap for #107 in this repo was done in the matching PR. This issue tracks the API-side work.
Refs #107.
- 主要语言
- TypeScript
- 星标
- 2.2k
- 派生
- 181
- 平均合并
- 9 小时 4 分钟
- 30 天内合并 PR
- 13
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MiniMax-AI/cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
MiniMax-AI/cli#259 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
MiniMax-AI/cli#258 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
MiniMax-AI/cli#265 ·
-
难度 5/5 一周以上 新手友好度 25/100
MiniMax-AI/cli#260 ·
-
难度 3/5 1-2 天 新手友好度 76/100
MiniMax-AI/cli#257 · 1 条评论 ·
相似的 Issue
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 70/100