Skip to content

Conversation

@AuferGachet
Copy link
Contributor

@AuferGachet AuferGachet commented Oct 13, 2025

After deploying qwen3 using fastdepoly, if the request contains tools information, an error will be generated because the tools field value was parsed twice during request processing, resulting in multiple tools in subsequent processing. So, do deduplication to ensure that the tool field in the request is not assigned multiple times.

EmmonsCurse
EmmonsCurse previously approved these changes Oct 16, 2025
task["preprocess_start_time"] = time.time()
try:
chat_template_kwargs = task.get("chat_template_kwargs", {})
chat_template_kwargs.update({"chat_template": task.get("chat_template"), "tools": task.get("tools")})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

去掉"tools": task.get("tools") 即可

@LiqinruiG LiqinruiG merged commit 1e59905 into PaddlePaddle:develop Oct 20, 2025
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants