Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.

Request: Support timeout - #2

Open
yutaroyamanaka wants to merge 2 commits into
FlowiseAI:mainfrom
yutaroyamanaka:support-timeout-flag
Open

Request: Support timeout#2
yutaroyamanaka wants to merge 2 commits into
FlowiseAI:mainfrom
yutaroyamanaka:support-timeout-flag

Conversation

@yutaroyamanaka

Copy link
Copy Markdown

Why

Hello, I appreciate the FlowiseAI project and find it very useful for hosting RAG applications. When using FlowiseAI's API in the production environment, I want to ensure that my code doesn't hang infinitely by setting the timeout.

Although it's possible to implement a timeout outside the SDK, I believe adding support for it directly in the SDK would be beneficial for others as well.

What

  • Add a new argument called timeout (default is None)
  • I found one of test cases broken. Therefore, I fixed this by mocking requests.post correctly.

@yutaroyamanaka

Copy link
Copy Markdown
Author

@HenryHengZJ
Sorry for bothering you.
I really appreciate if you have some feedbacks for me. 🙇

注册 for free to subscribe to this conversation on GitHub. Already have an account? 登录.

标签

None yet

项目

None yet

Development

Successfully merging this pull request may close these issues.

1 participant