llm-ui
llm-ui copied to clipboard
How to use throttle function to speed up the output display
Throttle function has 5 parameters and I have no idea how to use them to speed up the display. Can we just combine them into 1 variable like the slide bar you have in your doc? It is so much more intuitive. https://llm-ui.com/docs/quick-start
to this same point: can we add a "fastForward" option or something? A lotta times if the backend is too slow, llm-ui overcompensates and does very very slow output. it would be good to periodically be able to fast-forward to the latest output manually.
More wish list items for throttle:
-
A callback to know when the internal buffering of the throttle is completed and it actually starts showing something. I have a loading bubble and it is visible that it disappears before llm-ui starts printing.
-
A way to slow things down if the backend is really fast (e.g. gemini-flash fast). It just is stressful for readers if the text just comes out too fast.