ZhangXin

Results 6 comments of ZhangXin

用Buffer解决的粘包,我这边可以正常处理: const readableStream = new ReadableStream({ async start(controller) { let buffer = ''; // 缓冲区用于存储未处理完的消息 async function push() { try { // 拉取响应流中的标志位done与二进制的数据Value const { done, value } = await...

@xueliu8617112 Dr.Liu,I noticed that you updated it using the ‘self.cost_lim - min_qf_pi_cost‘,I found that this is not conducive to convergence of cost in my experiments ,Do you think it is...

> @XPStone 暂时不影响使用,记得标注为 'use client',我得看看 shiki 怎么做兼容 SSR 嗯,不影响开发,但暂时是没有办法部署

> @XPStone 暂时不影响使用,记得标注为 'use client',我得看看 shiki 怎么做兼容 SSR 你好,如果我现在想build这个项目的话,您有什么方案吗?

@ONLY-yours 您好,我做了以下处理,但是只能停止前端的浏览器的输出,后端模型仍然在调用,并且浏览器停止回答也有延迟 ``` const [abortController, setAbortController] = useState(null); {/* 使用主题的背景色 */} {showComponent && ( { const controller = new AbortController(); // 创建AbortController实例 setAbortController(controller); const response = await fetch('/api/qwenstream', { method:...

我也侠女顾问这个问题,请问你找到了吗?