Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Transfer-Encoding: chunked #332

Open
tomaszkiewicz opened this issue Jan 7, 2025 · 2 comments
Open

Support for Transfer-Encoding: chunked #332

tomaszkiewicz opened this issue Jan 7, 2025 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tomaszkiewicz
Copy link

Let's start with the fact, that I <3 kulala :)

I recently used it to test some backend that handles a responses from LLMs and noticed that Transfer-Encoding: chunked is not supported at all - the client waits for the response to finish to show it on the screen.

It would be a really great enhancement for kulala to support visualizing of each chunk received from API as soon as it comes to the client.

@gorillamoe gorillamoe added the enhancement New feature or request label Jan 22, 2025
@gorillamoe gorillamoe self-assigned this Jan 22, 2025
@YaroSpace
Copy link

How should we visualise the chunks when they arrive:
Add notification through vim.notify and update the buffer with response?
How show we deal with the float window? We can close the window, but keep the buffer open and update it in the background. It can the be invoked on keymap or on next chunk arrival.

@gorillamoe
Copy link
Member

IMHO, it the view should update the headers according to the last reqeust made (so just replace them maybe?) and the contents of the response chunk should be just appended to the current buffer view.

But maybe @tomaszkiewicz can chime in on that too, to give his 5 cents on how he would like to visualize that?

@gorillamoe gorillamoe assigned YaroSpace and unassigned gorillamoe Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants