mirror of
https://github.com/langgenius/dify-plugins.git
synced 2026-07-22 01:55:36 -04:00
Model Invocation is there a non-blocking Socket? #428
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SugarFatFree on GitHub (Dec 22, 2025).
Although this code is a streaming request, the internal implementation is a blocking Socket. If many large model requests are initiated at the same time, the performance will be very poor. Is there any request that supports non-blocking Socket? Aiohttp, for example
@SugarFatFree commented on GitHub (Dec 22, 2025):
I found that httpx.Client() is used, can I use httpx.AsyncClient instead?
@crazywoola commented on GitHub (Feb 3, 2026):
Hi @SugarFatFree, thanks for opening this issue.
Why this is being closed
This issue tracker is reserved for actionable bugs/tasks. This report looks like a usage question.
Next steps
Please use the community channels instead:
If this is actually a bug/task, please open a new issue with clear reproducible details.
Thanks for understanding and for supporting Dify.