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

Request streaming #44

Open
F0x1d opened this issue Dec 19, 2023 · 2 comments
Open

Request streaming #44

F0x1d opened this issue Dec 19, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@F0x1d
Copy link
Contributor

F0x1d commented Dec 19, 2023

It will be cool and convenient if Papyrus supports requests streaming

@joshuawright11 joshuawright11 added the enhancement New feature or request label Dec 21, 2023
@joshuawright11
Copy link
Owner

Thanks for the idea @F0x1d!

To clarify, what's the use case you are thinking of - something like uploading a large file, such as in a multipart request?

@F0x1d
Copy link
Contributor Author

F0x1d commented Dec 21, 2023

Large files can be downloaded this way. Also, for example, ChatGPT API provides "streamed" generation. It streams parts of the response as soon as they are generated by the server. Now i use urlSession.bytes to handle it, but it would be much more convenient to use Papyrus everywhere in the app

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

2 participants