I don't get it (and I'd call this cumulative not incremental)
Why not at least wait until the key is complete - what's the use in a partial key?
Why not at least wait until the key is complete - what's the use in a partial key?
> As a consequence of 1 and 5, we only add a property to an object once we have the entire key and enough of the value to know that value's type.
name: A name: Al name: Ale name: Alex
Which would suggest you are getting unfinished strings out in the stream.
{"role": "assistant", "text": "Here's that Python code you aske
Incomplete parsing with incomplete strings is still useful in order to render that to your end user while it's still streaming in.{"cleanup_cmd":"rm -rf /home/foo/.tmp" }
I’m imagining it in my mental model as being typed “unknown”. Anything that prevents accidental use as if it were a whole string… I imagine a more complex type with an “isComplete” flag of sorts would be more powerful but a bit of a blunderbuss.
[1]: https://github.com/globalaiplatform/langdiff/tree/main/ts