T
Typebot17mo ago
André

Problem with Webhook timeout. Request to https://www.together.ai/

Hi, I'm building a chatbot that uses an LLM. I've been using together.ai. The requests to the API due to the nature of the LLM's sometimes takes more than 10 seconds. I've been investigating the code: https://github.com/baptisteArno/typebot.io/blob/main/packages/bot-engine/blocks/integrations/webhook/executeWebhookBlock.ts It seems that this problem will be handle in the future. Anybody know when will be possible to adjust the timeouts? Best Regards, André.
GitHub
typebot.io/packages/bot-engine/blocks/integrations/webhook/executeW...
💬 Typebot is a powerful chatbot builder that you can self-host. - baptisteArno/typebot.io
6 Replies
LuizAlves
LuizAlves17mo ago
I suggest to @Baptiste put an option in the webhook block to flow developer select a min and max timeout to http request.
Baptiste
Baptiste17mo ago
Yes, I’ll push that this week 🙏
André
AndréOP17mo ago
👍
LuizAlves
LuizAlves17mo ago
Hi @Baptiste An option to read the webhook header returning from request will be appreciated because some tokens(jwt bearer token, for sample) and other informations are important to read them.
Baptiste
Baptiste17mo ago
Hmmm a response will never send a JWT Auth header as far as I know!

Did you find this page helpful?