GithubHelp home page GithubHelp logo

ripples-alive / feishu-chatgpt Goto Github PK

View Code? Open in Web Editor NEW
26.0 5.0 4.0 223 KB

接入 ChatGPT(浏览器接口) 的飞书机器人

Dockerfile 1.03% Python 98.97%
chatbot chatgpt chatgpt-bot feishu-bot

feishu-chatgpt's Issues

request error

2024-01-26 12:56:13,213 [root] ERROR (error): err occurred, 'utf-8' codec can't decode byte 0x84 in position 2: invalid start byte
2024-01-26 12:56:13,214 [werkzeug] INFO (_log): 123.58.10.238 - - [26/Jan/2024 12:56:13] "POST /webhook/chatgpt HTTP/1.1" 500 -

revChatGPT升级后报错

image
降到2.3.8后使用正常

Traceback (most recent call last):
File "/src/./bot.py", line 75, in worker
handle(message_id, open_id, uuid, text)
File "/src/./bot.py", line 92, in handle
for data in chatbot.ask(text, conversation_id=conversation_id, parent_id=parent_id):
File "/usr/local/lib/python3.11/site-packages/revChatGPT/V1.py", line 238, in ask
response = self.session.post(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 635, in post
return self.request("POST", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 723, in send
history = [resp for resp in gen]
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 723, in
history = [resp for resp in gen]
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 191, in resolve_redirects
raise TooManyRedirects(
requests.exceptions.TooManyRedirects: Exceeded 30 redirects.

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.