Open Esorat opened 1 year ago
After run on docker get this error. Maybe you help how to fix this? Big big thanks for video! Spasibo bro!
Error while gpt chat Request failed with status code 401
Error while proccessing voice message Cannot read properties of undefined (reading 'content')
Error while transcription Request failed with status code 401
Error while gpt chat Request failed with status code 401
Error while proccessing voice message Cannot read properties of undefined (reading 'content')
Error while transcription Request failed with status code 401
Error while gpt chat Request failed with status code 401
Error while proccessing voice message Cannot read properties of undefined (reading 'content')
Set the timeout to infinity when initializing bot instance. And don't forget that there is a threshold in context size. If your context is too big OpenAI API will respond with 401 status code.
const bot = new Telegraf(config.get("TELEGRAM_TOKEN"), {
handlerTimeout: Infinity, // fix
});
After run on docker get this error. Maybe you help how to fix this? Big big thanks for video! Spasibo bro!
Error while gpt chat Request failed with status code 401 Error while proccessing voice message Cannot read properties of undefined (reading 'content') Error while transcription Request failed with status code 401 Error while gpt chat Request failed with status code 401 Error while proccessing voice message Cannot read properties of undefined (reading 'content') Error while transcription Request failed with status code 401 Error while gpt chat Request failed with status code 401 Error while proccessing voice message Cannot read properties of undefined (reading 'content')