Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Follow-up to #107: /v1/coding_plan/search API needs pagination support

未关闭
#169 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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:

  1. Add a count parameter (1–N, default 10) so callers can request larger pages, and
  2. Add an offset or page parameter (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_search tool)
  • 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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

MiniMax-AI/cli 的其他 Issue

查看 MiniMax-AI/cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。