Ethan

Results 14 comments of Ethan

Just created a PR for this, It maps each event onto the correct object classes. So you can loop through the stream and perform whichever actions you want at each...

I'm fairly certain this is fully feature complete with everything new within the API. Let me know if anything's spotted that might be missing, or any updates that need to...

@knash94 Thanks for reviewing it and resolving the type issue. I'm not doing any work with images, so wouldn't have spotted that one. I've added the `createAndRunStreamed` function, and updated...

@punyflash Thanks for pointing out these issues > * Lack of types annotations for stream events. Needed to set them in place, so my ide could give me at least...

@subet Unfortunately I have no idea for a timeline on this. In the meantime you can use the new functionality with this https://github.com/openai-php/client/pull/367#issuecomment-2046120856 Im quite confident that all the functionality...

@Guervyl The output tokens refers to text generations from the Ai models. So retrieving previous messages, and old text generations does not cost anything.

This seems to work best for me. First it limits the scope within the `tv({})` object. Using `[\s\S]*?` allows the rule to select the whole multiline structure within the tv({})...

Using the `@assets` directive works much better with Livewire. From what i understand most of the changes here are in the background. The only change that affects users, is the...

Just something that might be worth considering. @ijpatricio Do we need to handle 'ReactPreamble' within MingleJs? It definitely seems handy to have `mingle.react_preamble_enabled` in the config, And that will automatically...

I do agree with the "click and go" approach. And it definitely is worth the extra mile as you said. Im still not 100% convinced in this specific case. I...