Skip to content

Conversation

@Sunny-bot1
Copy link
Collaborator

存在问题

当不传入bad_words时,则不会更新share_input["bad_tokens"],导致连续发送独立请求时,会出现有的请求“没有传入bad_words但是却复用了上一个请求的bad_words”的情况。

本PR涉及的修改

  1. 当不传入bad_words时,更新share_input["bad_tokens"]为默认值;
  2. 修改warning log,add_prefix_space的情况用户无需感知。

@paddle-bot
Copy link

paddle-bot bot commented Aug 4, 2025

Thanks for your contribution!

@yuanlehome yuanlehome merged commit 72ef5a9 into PaddlePaddle:develop Aug 4, 2025
11 of 14 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.

2 participants