grayTele
Results
2
comments of
grayTele
调用openai接口的stream流式响应输出没有办法逐字即时输出 The stream-style response output from calling the OpenAI interface cannot be outputted instantly on a word-by-word basis.
设置 DefaultHandler::setDefaultHandler(SwooleHandler::class); 不生效,只能设置单个设置才行 ```php $handler = new SwooleHandler(); $stack = HandlerStack::create($handler); $client = new \GuzzleHttp\Client(['handler' => $stack]); ```