xuning888
xuning888
同样遇到了这个问题,跟着楼主降了版本先凑合凑合
I encountered the same issue, here is my code. ```go var sbd strings.Builder appCtx.Response.Header.Set("mime-type", "text/event-stream") _, err = c.llm.GenerateContent(timeout, content, llms.WithStreamingFunc(func(ctx context.Context, chunk []byte) error { sbd.Write(chunk) _, err2 :=...
I encountered the same issue, here is my code. ```go var sbd strings.Builder appCtx.Response.Header.Set("mime-type", "text/event-stream") _, err = c.llm.GenerateContent(timeout, content, llms.WithStreamingFunc(func(ctx context.Context, chunk []byte) error { sbd.Write(chunk) _, err2 :=...
问题已经解决,非常感谢
> @xuning888 你好,想请问下你是如何解决了,我这边也发现相同的问题,谢谢 我对着官网搞了好几遍,然后就可以了
> > @xuning888 你好,想请问下你是如何解决了,我这边也发现相同的问题,谢谢 > > 我对着官网搞了好几遍,然后就可以了 去年的事情,现在我也忘了具体如何解决了。
> @xuning888 能否确认是否是替换变量的问题?还是配置config的问题或其他?我现在一直困在这里,始终编译不成功,能否帮忙回忆下 谢谢 您好,我把这个问题再打开,我觉得还是得由 repo 维护者来解答您的问题比较好,因为我怕误导您。