# GPT Long Response

**URL:** <https://community.glideapps.com/t/gpt-long-response/67318>\
**Category:** Ask for Help\
**Created:** [October 26, 2023, 6:00pm UTC](https://community.glideapps.com/t/gpt-long-response/67318 "2023-10-26T18:00:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nixkulinax](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nixkulinax/32/73708_2.png) [@nixkulinax](https://community.glideapps.com/u/nixkulinax)\
**Post date:** [October 26, 2023, 6:00pm UTC](https://community.glideapps.com/t/gpt-long-response/67318/1 "2023-10-26T18:00:13Z")

</div>

I’m encountering some issues with Open AI components. The response time is excessively long, and occasionally, the API fails due to an extended wait time. Is anyone else experiencing this problem?

If you have encountered this issue and know how to solve it, please let me know.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [October 27, 2023, 1:11am UTC](https://community.glideapps.com/t/gpt-long-response/67318/2 "2023-10-27T01:11:27Z")

</div>

What actions/columns are you using and how are you configuring it?

---

<div class="post-metadata">

**Author:** ![Bio\_Sam](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bio_sam/32/66023_2.png) [@Bio\_Sam](https://community.glideapps.com/u/Bio_Sam)\
**Post date:** [October 28, 2023, 6:20am UTC](https://community.glideapps.com/t/gpt-long-response/67318/3 "2023-10-28T06:20:19Z")

</div>

We’ve been using the “Send Message to ChatGPT without history” action for about 3 to 4 months, and it worked well. But recently, we’re having problems with the GPT-4 model. Sometimes it works fine, but other times it doesn’t respond and shows a “User aborted request” error. We’ve tried different things like changing the system prompt, the temperature, rephrasing the task, and even using other versions of GPT-4, but nothing helped.

Switching to GPT-3.5 solves the problem, but we really need to use GPT-4 for our tasks.

---

<div class="post-metadata">

**Author:** ![J\_Woosley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/j_woosley/32/64568_2.png) [@J\_Woosley](https://community.glideapps.com/u/J_Woosley)\
**Post date:** [October 29, 2023, 11:59am UTC](https://community.glideapps.com/t/gpt-long-response/67318/4 "2023-10-29T11:59:01Z")

</div>

No one is replying to this but I’m having the same problem. Other sites get around this by having the api stream the response one word at a time versus in one chunk. Would love if the glide folks could help with this…

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [October 31, 2023, 8:46pm UTC](https://community.glideapps.com/t/gpt-long-response/67318/5 "2023-10-31T20:46:53Z")

</div>

@nixkulinax @J_Woosley - Thanks for flagging. 🙂

I’ll pass this along to the team.

In the meantime - how big are those request payloads you’re sending to ChatGPT?

---

<div class="post-metadata">

**Author:** ![nixkulinax](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nixkulinax/32/73708_2.png) [@nixkulinax](https://community.glideapps.com/u/nixkulinax)\
**Post date:** [October 31, 2023, 8:51pm UTC](https://community.glideapps.com/t/gpt-long-response/67318/6 "2023-10-31T20:51:31Z")

</div>

Thank you!

I’ve tested it with different payloads.

The first time I encountered this issue, I changed big payload tasks to a 16k GPT model, but then I found that errors continued on actions that used no more than 200-300 tokens.

---

<div class="post-metadata">

**Author:** ![J\_Woosley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/j_woosley/32/64568_2.png) [@J\_Woosley](https://community.glideapps.com/u/J_Woosley)\
**Post date:** [October 31, 2023, 8:58pm UTC](https://community.glideapps.com/t/gpt-long-response/67318/7 "2023-10-31T20:58:12Z")

</div>

The max context window is 4K characters, so if you have that many it just churns and times out after 15 mins. I have a killer app thats now on Glide, so would love for you guys to fix this! In the meantime the internal AI is pretty good.

---

<div class="post-metadata">

**Author:** ![NoCodeAndy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nocodeandy/32/62530_2.png) [@NoCodeAndy](https://community.glideapps.com/u/NoCodeAndy)\
**Post date:** [November 1, 2023, 1:33pm UTC](https://community.glideapps.com/t/gpt-long-response/67318/8 "2023-11-01T13:33:35Z")

</div>

Thank you both for the context!

Best next step is to open a ticket with our support team, if you haven’t already.

They’ll be able to dig into your app and troubleshoot in more detail than what we can do in the forum.
