Closed craigmassie closed 4 months ago
Hey, glad you like it!
It looks like you're missing 15 chars which is the number of 'read ahead' characters in the throttle function. It only prints these out once isStreamFinished
is true
.
Is your isStreamFinished
being correctly set to true
at the end. Looks like maybe it's only set when the connection is closed.
That was it! Thanks Richard :)
Hey, love the project! Just testing it out for the first time and running into some issues with the output being truncated (
outputRaw
/llmOutput
contains the correct string,output
/visibleText
doesn't).As an example: outputRaw:
[...]hey\n\nIf you need further details or assistance, please let me know!"
output:[...]hey\n\nIf you need further details or assistance, pleas\n"
I can repro this with different outputs, so I don't think the issue is specific to this exact response.
The code to reproduce is almost identical to the example in the docs which leads me to believe it's being removed on conversion to the internal AST:
Any help here would be super appreciated!