maxgameone

Results 17 comments of maxgameone

![Image](https://github.com/user-attachments/assets/adc6500b-68c0-43e1-b552-286f2b33e551) 这是用FnCallAgent 返回的样子 不调用工具就是正常返回

![Image](https://github.com/user-attachments/assets/2caa1a49-5560-408d-b2e6-92f66d00282e) 就像这样只要调用工具且工具有输出的时候 每次循环都会是三条返回,一条为空 一条是函数调用 一条是模型的流式输出,请问这是什么问题,有没有什么办法能解决

修改如下即可解决 ![Image](https://github.com/user-attachments/assets/1d08a2fc-feb0-47bf-9610-4181e5c8b2d7)

> 支持,我用的官方API没问题。 大佬啊 有代码参考一下吗 我用WS服务流式输入貌似CosyVoice 对象不能复用,必须有连接就得NEW一个