RevertIT / mybb-rt_chatgpt

RT ChatGPT is a plugin which utilizes OpenAI API to generate responses in selected forums and do tasks. The plugin can be extended and new models can be added with ease!
MIT License
6 stars 1 forks source link

Not updating the thread #11

Closed RocketFoot closed 3 months ago

RocketFoot commented 1 year ago

Everything seems to be working however, the thread in the forum is not updated with the ChatGPT output. The thread that is created when a question is asked is posted immediately and reads:

`Generating response... It will take up to five minutes for this message to be updated.

If this message is not updated within five minutes, please report it to the administrator.`

I have forced the task manager to run as well as waited 24 hours but the thread has still not updated even though I see the correct answer in the logs. Also, the answer repeats once after 5 minutes so there are 2 log entries.

RevertIT commented 1 year ago

Hi,

Sorry for late response, can you show the logs output what it is showing?

RocketFoot commented 1 year ago

I am testing the pre-release now...it refreshed the question post when I manually ran the task but when I tested another question and let it sit for 10 minutes, it did not re-fresh the question post.

RevertIT commented 1 year ago

That really makes no sense to behave like that. Either it wouldn't work for any topic or it would work for all.

Without providing the logs from the chatgpt logs section inside your ACP, I can't help you debug the issue.

https://github.com/RevertIT/mybb-rt_chatgpt/releases/tag/v1.1b

RocketFoot commented 1 year ago

Here is a screen shot...it is also repeating the answer in logs over and over!

ScreenHunter_1332 Jul  29 05 45

RocketFoot commented 1 year ago

I just tested 1.1b and still no post update...here is the log entry:

`

  Message: [url=LINK_HERE][img]IMAGE_URL_HERE[/img][/url] cmpl-7hbebReEutAvITlg6j8eHYM3BQDtQ text-davinci-003 101 OpenAI Assistant - Reply to thread   Less than 1 minute ago

`

RevertIT commented 1 year ago

The logs are showing that it worked correctly, make sure the bot has permissions to update the thread.

And when you force run the task, it still doesn't update?

RocketFoot commented 1 year ago

Bot is a supermod with access to post and edit in the forum. It actually DOES update when I force run the task. If I post a question and wait for the posted 5 minutes or more, it never edits/updates the post and the log keeps showing repeated entries of the same answer.