**<u>按照要求配置agent支持reasoning之后,对接agui协议的时候agent返回的think部分的起始角色是assistant,而不是agui协议要求的reasoning,导致前端按agui协议对接之后无法正常展示reasoning过程</u>** <img width="506" height="341" alt="Image" src="https://github.com/user-attachments/assets/1587e820-845e-46b9-b332-d8c415fdb068" /> <img width="825" height="265" alt="Image" src="https://github.com/user-attachments/assets/2f7fd187-b8d5-4536-98ef-83b51127dd88" /> 后端agent请求返回结果: <img width="1352" height="267" alt="Image" src="https://github.com/user-attachments/assets/ad425b2a-7d88-4c06-9ee6-a0c048063c27" /> **期望** 按协议,在展示think部分的时候,角色信息是“reasoning” <img width="1512" height="709" alt="Image" src="https://github.com/user-attachments/assets/14667cf1-919e-4c31-bb7d-2f5c6efc6fdf" />
按照要求配置agent支持reasoning之后,对接agui协议的时候agent返回的think部分的起始角色是assistant,而不是agui协议要求的reasoning,导致前端按agui协议对接之后无法正常展示reasoning过程
后端agent请求返回结果:
期望
按协议,在展示think部分的时候,角色信息是“reasoning”