mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-08 17:40:28 +00:00
fix(bt): honor selected files when creating resolved tasks
This commit is contained in:
1 parent
16f2d30476
commit
5bb040eaaf
11 files changed
+265
-20
No files matched your search
@@ -315,7 +315,7 @@ func registerTools(server *mcp.Server, downloader *download.Downloader) {
|
||||
)
|
||||
switch {
|
||||
case input.RID != "":
|
||||
id, err = downloader.Create(input.RID)
|
||||
id, err = downloader.CreateWithOptions(input.RID, input.Opts.baseOptions())
|
||||
case input.Req != nil:
|
||||
var req *base.Request
|
||||
req, err = input.Req.baseRequest()
|
||||
|
||||
Reference in new issue
Block a user