ChatGPT action times out

I am pulling data from an RSS feed and asking openai to generate content based on the RSS items.
However, the content generation neve completes and I am getting a time out upon testing.
Another piece that creates tweets works fine, so it’s not an API, or authentication issue.

Hello @dbodnariuc, can you try increasing the maximum tokens to 4000 see if that solves it? The model you’re using has a 8192 token limit, which is consumed on both how much you’re sending and how much the response of ChatGPT is, so depending on the variables you’re getting and the 800 word response I think you’re cutting it close to the model limit

I think the token number was the issue.
I created a new piece, and gave it more tokens and it looks like it’s working now.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.