modelscope / modelscope/ms-swift

可以提供一个更新的ToolCallScheduler吗?

Open
#8,460 0 comments 0 reactions 1 assignee View on GitHub

@hjh0119 is already working on this.

Since May 25, 2026.

Dominant language
Python
Stars
15.7k
Forks
1.7k
Avg merge
1d 16h
Merged PRs (30d)
136

Description

https://github.com/modelscope/ms-swift/blob/6b3fa6ecc7af08557710a87c99324cea57b486b5/examples/train/grpo/plugin/plugin.py#L1076

这个ToolCallScheduler好像格式比较老了(需要从message.content中自己解析工具),是否可以提供一个现在格式的ToolCallScheduler,比如qwen3.5返回结果中已经把tool call解析成message.tool_calls

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.