deepseek-laravel icon indicating copy to clipboard operation
deepseek-laravel copied to clipboard

Does the client support streaming output?

Open sxin0 opened this issue 8 months ago • 0 comments

Hi there,

I'm using the DeepSeek PHP client and noticed there's a withStream() method in the DeepSeekClient class. I'm wondering if this client fully supports streaming output functionality?

From the code, I can see:

public function withStream(bool $stream = true): self
{
    $this->stream = $stream;
    return $this;
}

Could you please confirm:

  1. Is streaming output fully supported?
  2. How should I properly implement streaming output in my application?
  3. Are there any specific requirements or limitations when using streaming?

Thank you for your time and help!

Best regards,

sxin0 avatar Apr 14 '25 08:04 sxin0