Follow-up to #107: /v1/coding_plan/search API needs pagination support
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- api, backend-api-design
Hướng nghiên cứu
Bắt đầu với MiniMax-AI/MiniMax-Coding-Plan-MCP/minimax_mcp/server.py và kiểm tra công cụ web_search, sau đó lần theo API gateway bên dưới làm proxy cho /v1/coding_plan/search. Xác nhận vị trí có thể triển khai các tham số phân trang và hành vi phản hồi. Hoàn tất nghĩa là API chấp nhận cơ chế count và page hoặc offset được tài liệu hóa, sau đó CLI và SDK có thể cung cấp các tùy chọn tương ứng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.2k
- Fork
- 181
- Merge trung bình
- 9 giờ 4 phút
- Pull request đã merge (30 ngày)
- 13
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MiniMax-AI/cli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
MiniMax-AI/cli#259 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
MiniMax-AI/cli#258 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
MiniMax-AI/cli#265 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
MiniMax-AI/cli#260 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
MiniMax-AI/cli#257 · 1 bình luận ·
Tất cả issue của MiniMax-AI/cli
Issue tương tự
-
blocklist removal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
MetaMask/eth-phishing-detect#296544 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pastelsky/bundlephobia#1122 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100