FuseFairy / DiscordBot-EdgeGPT

Using Copilot, Bing Image Creator and DALLE-3 on Discord bot.
GNU General Public License v2.0
160 stars 41 forks source link

Error: InvalidRequest: Culture is not supported. (Parameter 'name') English-United Kingdom is an invalid culture identifier. #94

Closed DamianWing closed 1 year ago

DamianWing commented 1 year ago

getting this when requesting anything from bing chat, and then request failed when generating an image

de-joit commented 1 year ago

same error. Error: InvalidRequest: Culture is not supported. (Parameter 'name') Russian-Ukraine is an invalid culture identifier.

Traceback (most recent call last): File "C:\Users\VovaPC\Desktop\bots\bing_ai_test_3\src\response.py", line 54, in send_message reply = await chatbot.ask(prompt=user_message, conversation_style=ConversationStyle.creative) File "C:\Users\VovaPC\AppData\Roaming\Python\Python310\site-packages\EdgeGPT.py", line 756, in ask async for final, response in self.chat_hub.ask_stream( File "C:\Users\VovaPC\AppData\Roaming\Python\Python310\site-packages\EdgeGPT.py", line 661, in ask_stream raise Exception( Exception: InvalidRequest: Culture is not supported. (Parameter 'name') Russian-Ukraine is an invalid culture identifier.

FuseFairy commented 1 year ago

I'm update bing api, try again

de-joit commented 1 year ago

Sorry for the late reply. It seems everything is now working properly, no errors. Thank you!