Skip to content

[Bug] The output of the locally deployed gpt-oss is displayed incorrectly #6641

@ariable

Description

@ariable

📦 部署方式

Other

📌 软件版本

2.16.1

💻 系统环境

Ubuntu

📌 系统版本

24.04

🌐 浏览器

Chrome

📌 浏览器版本

109

🐛 问题描述

使用Custom model定义了gpt-oss-120b,后端使用sglang推理,推理过程被直接打印出来了。
CUSTOM_MODELS=-all,+gpt-oss-120b@OpenAI
是否添加@openai输出效果都与图片中类似,Cherrystudio等可以正常显示思考内容,不知道是否哪里还要配置。

ImageIII

📷 复现步骤

CUSTOM_MODELS=-all,+gpt-oss-120b@OpenAI
BASE_URL=http://127.0.0.1:1234

🚦 期望结果

推理内容可被识别并可折叠

📝 补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions