I have this simple system: Once I throw a link to an article into a chat room in Telegram, the chat gpt takes that link and writes an article based on it. It sends the resulting text back to another tg channel. The problem is that often there is an error that the message is too large, and Telegram can not transmit such a large message. Is there any possibility to make Telegram just send it in two messages (one in continuation of the other).
P.s. I’ve tried writing a limit through promt, but it works only once.
Welcome to the Make community!
You can take a look at this relevant solution I posted in another thread on how to split text into maximum lengths without breaking up whole words.
I’ve even provided screenshots and a module export you can paste into your scenario.
samliew – request private consultation
Join the Make Fans Discord server to chat with other makers!
1 Like