openai-php / client

⚡️ OpenAI PHP is a supercharged community-maintained PHP API client that allows you to interact with OpenAI API.
MIT License
4.56k stars 465 forks source link

Support Stream for Thread using Assistant #391

Closed sarathisahoo-muffins closed 1 month ago

sarathisahoo-muffins commented 1 month ago

Hi, The Stream feature is not there to use Assistant using Thread. This is very important feature to have.

knash94 commented 1 month ago

There is an open PR #367, hopefully this will be reviewed and merged in soon without any big changes to the interface. The issue has also already been raised on #357

Muhammad-Huzaifa7 commented 1 month ago

yeh please update it because like me many programmer want to use streaming assistant response by this library

iamaz007 commented 1 month ago

check this out https://github.com/openai-php/client?tab=readme-ov-file#create-streamed-2

gehrisandro commented 1 month ago

Implemented in the latest release: https://github.com/openai-php/client/releases/tag/v0.9.0