Thomas Hibbard
Thomas Hibbard
@KrzysztofKarol How is this meant to be used? I see it's a component on NPM now, but I'm still getting window is not defined when used like: ```javascript const Root...
@IonianPlayboy First of all thank you for your vueuse suggestion. I was just about to give up on xstate vue. Sharing a machine across components seems like a real necessity,...
For me it happens when enabling the pretty recently introduced `stream_options.include_usage` option. The final `msg` content looks like this: ``` { "id":"chatcmpl-", "object":"chat.completion.chunk", "created":1718756652, "model":"gpt-4-0613", "system_fingerprint":null, "choices":[ ], "usage":{ "prompt_tokens":308,...
Are there plans to address this?
@st3w4r Yeah exactly, there are no choices—I think—because the final received chunk is just token usage information, and so it doesn't have any of the choices/delta/etc included in the rest...
I think the last chunk still needs to be processed so the usage can be accessed. Maybe it could emit a `done` or `usage` event. I'm getting a little out...