在载入GUI界面时有警告:
fatal: not a git repository (or any of the parent directories): .git
'TZ' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\overwrites.py:89: GradioUnusedKwargWarning: You have unused kwarg parameters in JSON, please remove them: {'readonly': True}
res = original_IOComponent_init(self, *args, **kwargs)
Running on local URL: http://127.0.0.1:7860
在GUI界面输入任何文字都显示以下错误,第三方API的openai api base已经更改
To create a public link, set share=True in launch().
Traceback (most recent call last):
File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\base_model.py", line 466, in predict
for chatbot, status_text in iter:
File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\base_model.py", line 278, in stream_next_chatbot
for partial_text in stream_iter:
File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\OpenAI.py", line 44, in get_answer_stream_iter
for i in iter:
File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\OpenAI.py", line 205, in _decode_chat_response
if chunk["choices"][0]["finish_reason"] == "stop":
KeyError: 'finish_reason'
复现操作
部署未成功过
错误日志
To create a public link, set `share=True` in `launch()`.
Traceback (most recent call last):
File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\base_model.py", line 466, in predict
for chatbot, status_text in iter:
File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\base_model.py", line 278, in stream_next_chatbot
for partial_text in stream_iter:
File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\OpenAI.py", line 44, in get_answer_stream_iter
for i in iter:
File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\OpenAI.py", line 205, in _decode_chat_response
if chunk["choices"][0]["finish_reason"] == "stop":
KeyError: 'finish_reason'
这个bug是否已存在现有issue了?
错误表现
在载入GUI界面时有警告: fatal: not a git repository (or any of the parent directories): .git 'TZ' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\overwrites.py:89: GradioUnusedKwargWarning: You have unused kwarg parameters in JSON, please remove them: {'readonly': True} res = original_IOComponent_init(self, *args, **kwargs) Running on local URL: http://127.0.0.1:7860
在GUI界面输入任何文字都显示以下错误,第三方API的openai api base已经更改 To create a public link, set
share=True
inlaunch()
. Traceback (most recent call last): File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\base_model.py", line 466, in predict for chatbot, status_text in iter: File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\base_model.py", line 278, in stream_next_chatbot for partial_text in stream_iter: File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\OpenAI.py", line 44, in get_answer_stream_iter for i in iter: File "C:\Users\1\Desktop\ChengXu\ChuanhuChatGPT-main\ChuanhuChatGPT-main\modules\models\OpenAI.py", line 205, in _decode_chat_response if chunk["choices"][0]["finish_reason"] == "stop": KeyError: 'finish_reason'复现操作
部署未成功过
错误日志
运行环境
帮助解决
补充说明
No response