GithubHelp home page GithubHelp logo

Comments (4)

Eikosa avatar Eikosa commented on June 22, 2024

I think I found the error code, but I'm not sure if this is it:

2023-08-30 13:54:07,622 - asyncio - ERROR - Task exception was never retrieved
future: <Task finished name='Task-216' coro=<BingAI.run() done, defined at /root/EdgeGPT-Telegram-Bot/src/backend.py:238> exception=KeyError('adaptiveCards')>
Traceback (most recent call last):
  File "/root/EdgeGPT-Telegram-Bot/src/backend.py", line 260, in run
    async for final, resp in ut.CONV["all"][self.cid][self.conv_id][
  File "/usr/local/lib/python3.10/dist-packages/EdgeGPT/EdgeGPT.py", line 187, in ask_stream
    async for response in self.chat_hub.ask_stream(
  File "/usr/local/lib/python3.10/dist-packages/EdgeGPT/chathub.py", line 178, in ask_stream
    resp_txt = result_text + response["arguments"][0][
KeyError: 'adaptiveCards'

After this problem occurred, I reset the bot and it started saying:
image

from edgegpt-telegram-bot.

scmanjarrez avatar scmanjarrez commented on June 22, 2024

Hmm, can you run the /history_update command, waiting few seconds and trying again? Sometimes, the history gets corrupted (the chat exists locally, but not on the server)

from edgegpt-telegram-bot.

Eikosa avatar Eikosa commented on June 22, 2024

When I use this command, it does indeed solve the problem, but it is a bit annoying to do this every time it freezes and rewrite all my queries

from edgegpt-telegram-bot.

scmanjarrez avatar scmanjarrez commented on June 22, 2024

Have you encountered this error again? I need more context to debug this error properly

from edgegpt-telegram-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.