insellup
Forum Replies Created
-
Hello @valwa!
Thanks for the answer! If you know, please, how long will it take to update the plugin? Thank you in advance!Thanks, yes, set_api_key works!
Hey, @valwa!
I’ve already tried this. I have already tried everything to implement this 🙁 .
Below is a script that tracks clicks on the chat button. The event only works correctly if the chat is empty. However, if you write text in the chat, then clicking on the button no longer works. Can you tell me what the problem might be?jQuery(document).ready(function () {
jQuery(‘.mwai-chatbot-container’).on(‘click’, ‘button’, function (e) {
jQuery(‘body’).hide(); // Works if the chat is empty. If you enter text into the chat, it no longer works});
});
Hello, @valwa!
Thanks for the answer! I was just wondering if it is possible to override the streaming parameter in the code itself, using the example of how this is implemented for mwai_chatbot_params
add_filter( ‘mwai_chatbot_params’, function ( $atts ) {
//
}, 10, 1 );
Tell me, is it possible to implement something similar using js MwaiAPI.addFilter? That is, if I place the script on a page with a chatbot for images, then after clicking on the “send” button, then show my own message? For example, “The image is being generated…”. And when the picture is generated, this message is automatically deleted. I want to make an additional loader with a message while the image is being generated.@senols, indeed, it is most likely because of this. Because the API for Russia was disabled approximately after that :-(. I hope there will be no more such attacks and it will be possible to use it from Russia again.
@senols, thanks for the links to the forum, I see that the problem is not only for Russia!
Russia is not included in the list of supported countries only for a free OpenAi account. If the account is paid, then until this moment there were no problems with connection in Russia. Most likely, OpenAi’s policy has now changed or they simply have some technical glitches for some countries.I’ve been working with your plugin for several months now and it’s really a very good plugin! Now I had to move the site to hosting in Europe so that the plugin would continue to work.
Hello! I also started having this problem two days ago. What does this have to do with not only your plugin, but also other plugins for integration with OpenAi. I noticed that if the site is on Russian hosting, then there is no output from OpenAi at all, or the message “The model predicted completion…” is displayed. And even if, for example, you specify the wrong API key, then instead of the displayed error “incorrect API key”, the result displays “The model predicted completion…” or is empty.
But if you install the site along with the plugin on a hosting that is not in Russia, then everything works fine. This problem suddenly appeared two days ago. The OpenAi account is paid and there are no restrictions for Russia.
Maybe you know what the problem might be?
Hello! I also started having this problem two days ago. What does this have to do with not only your plugin, but also other plugins for integration with OpenAi. I noticed that if the site is on Russian hosting, then there is no output from OpenAi at all, or the message “The model predicted completion…” is displayed. And even if, for example, you specify the wrong API key, then instead of the displayed error “incorrect API key”, the result displays “The model predicted completion…” or is empty.
But if you install the site along with the plugin on a hosting that is not in Russia, then everything works fine. This problem suddenly appeared two days ago. The OpenAi account is paid and there are no restrictions for Russia.
Maybe you know what the problem might be?