guanzhengdao

Results comments of guanzhengdao

deepseek和doubao都试过,结果一样,思考过程不能流式输出。 应该不是模型问题。

> 你是不是使用agent.Stream? 这个如果需要流式输出思考需要 ` // 创建回调处理器 callbackHandler := s.createCallbackHandler(ctx, chatID, createdTime, completionCount, requestDoneChan) > > ``` > // 启动Agent流 > stream, err := reagent.Stream(ctx, messages, agent.WithComposeOptions(compose.WithCallbacks(callbackHandler))) > ``` > >...