Giter VIP home page Giter VIP logo

Comments (5)

qes152408 avatar qes152408 commented on August 25, 2024

我也是这个问题

from discord-ai-chatbot.

Pigman-manga avatar Pigman-manga commented on August 25, 2024

same

from discord-ai-chatbot.

ImN3k0 avatar ImN3k0 commented on August 25, 2024

exact same here, worked for a little while and then all of a sudden stopped working.

ChatGPTBot:
[2023-05-15 10:59:58] [ERROR ] discord.client: Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\ImN3k\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\discord\client.py", line 441, in run_event
await coro(*args, **kwargs)
File "C:\Users\ImN3k\Documents\GitHub\Discord-Chatbot-Gpt4Free\main.py", line 143, in on_message
response = await generate_response(prompt)
File "C:\Users\ImN3k\Documents\GitHub\Discord-Chatbot-Gpt4Free\main.py", line 39, in generate_response
response = usesless.Completion.create(prompt=prompt, parentMessageId=message_id)
File "C:\Users\ImN3k\Documents\GitHub\Discord-Chatbot-Gpt4Free\usesless_init
.py", line 47, in create
response = Completion._response_to_json(content)
File "C:\Users\ImN3k\Documents\GitHub\Discord-Chatbot-Gpt4Free\usesless_init
.py", line 54, in __response_to_json
split_text = text.rsplit("\n", 1)[1]
IndexError: list index out of range

from discord-ai-chatbot.

ImShEthan avatar ImShEthan commented on August 25, 2024

The api url used in the init "https://ai.usesless.com/api/chat-process" is not working anymore "Cannot GET /api/chat-process"

from discord-ai-chatbot.

mishalhossin avatar mishalhossin commented on August 25, 2024

fixed
修复

from discord-ai-chatbot.

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.