Skip to content

think标签解析异常 #4613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
6 of 7 tasks
shikaiwei1 opened this issue Apr 21, 2025 · 0 comments
Open
6 of 7 tasks

think标签解析异常 #4613

shikaiwei1 opened this issue Apr 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@shikaiwei1
Copy link
Contributor

shikaiwei1 commented Apr 21, 2025

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • 公有云版本
  • 私有部署版本, 具体版本号: v4.9.6

问题描述, 日志截图,配置文件等

在使用智普GLM-Z1模型时,模型输出的<think></think>标签未能被解析为思考过程。其中:

  • 当打开流输出时,且输出思考过程时,think标签被渲染为正式回答内容。如下图

Image

  • 当关闭流输出时,不显示任何内容,不报错,但日志中能看到正常的模型输出。如下图:

Image

Image

复现步骤

  1. 接入GLM的API
  2. 配置glm-z1-air (或airx或flash模型)(补充:配置时均已经开启“支持思考输出”)
  3. 配置一个工作流(或者简易应用)
  4. 参照问题描述中内容进行配置,并测试。

Image

预期结果

think标签内的内容被渲染为思考过程

相关截图
Image

Image

Image

@shikaiwei1 shikaiwei1 added the bug Something isn't working label Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant