Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Responses in threads don't work #133

Closed
kitzler-walli opened this issue Mar 10, 2023 · 9 comments
Closed

Responses in threads don't work #133

kitzler-walli opened this issue Mar 10, 2023 · 9 comments

Comments

@kitzler-walli
Copy link

When I set MATRIX_THREADS=true and CHATGPT_CONTEXT=thread I get the response from the bot in a thread, but when I reply within the thread the bot never recognises the answer and therefore never triggers a response from ChatGPT.
Is that a problem with my locally hosted matrix instance or with the chatbot?

@ReggieMarr
Copy link

Is this on element web ? Its working for me in element mobile but not web. I'm using dendrite though.

@Dual-0
Copy link

Dual-0 commented Mar 11, 2023

It is working on my synapse instance. I use element web/android.

@Jasonthefirst
Copy link

Jasonthefirst commented May 2, 2023

For me it is neither working on element android nor on element web. Nothing happens if I respond to the thread.
This is on a local self hosted matrix synapse instance.

@Jasonthefirst
Copy link

I couldn't find a solution to the problem but it works with a prefix. So I chose a really short prefix and then it will also answer in threads. Apparently it won't react to messages in Threads without a prefix trigger.

gloomy-ghost added a commit to gloomy-ghost/matrix-chatgpt-bot that referenced this issue Nov 5, 2023
gloomy-ghost added a commit to gloomy-ghost/matrix-chatgpt-bot that referenced this issue Nov 8, 2023
bertybuttface added a commit that referenced this issue Nov 8, 2023
@kitzler-walli
Copy link
Author

There were a few months now that this worked just fine without trigger in threads but the latest version once again has this issue. I can chat with the bot, the answer is delivered in thread but every reply within the thread is ignored.

@bertybuttface
Copy link
Collaborator

Latest as it master or as in release version? This is likely related to #241 I don't use the bot any more so I rely on users to test their pull requests before merging. Try reverting that PR and see if you get anywhere.

@kitzler-walli
Copy link
Author

Latest release version 3.1.4

MATRIX_DEFAULT_PREFIX=
MATRIX_DEFAULT_PREFIX_REPLY=false
CHATGPT_CONTEXT=thread
MATRIX_THREADS=true

@kitzler-walli
Copy link
Author

I was able to get more details - this only fails in public rooms where the bot is joined. If I create a private chat with the bot then the responses in the threads work.

@bertybuttface
Copy link
Collaborator

Thanks for the info, did you try reverting that PR?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants