Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 可以加载模型和打开网页,但是模型输出不出来东西。 #1488

Closed
Ultrama0227 opened this issue Sep 15, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@Ultrama0227
Copy link

可以加载模型和打开网页,但是模型输出不出来东西。
image

@Ultrama0227 Ultrama0227 added the bug Something isn't working label Sep 15, 2023
@Ultrama0227
Copy link
Author

2023-09-15 10:57:54 | WARNING | langchain.llms.base | Retrying langchain.chat_models.openai.acompletion_with_retry.._completion_with_retry in 10.0 seconds as it raised APIConnectionError: Error communicating with OpenAI.
Caught exception: Error communicating with OpenAI

@imClumsyPanda
Copy link
Collaborator

请问在localhost:8888/docs页面中能否正常进行对话

@imClumsyPanda imClumsyPanda changed the title [BUG] 简洁阐述问题 / Concise description of the issue [BUG] 可以加载模型和打开网页,但是模型输出不出来东西。 Sep 16, 2023
@zhuhaifengaaa
Copy link

+1

1 similar comment
@FlintyLemming
Copy link

+1

@liangyf26
Copy link

2023-09-19 17:23:58,256 - before_sleep.py[line:65] - WARNING: Retrying langchain.chat_models.openai.acompletion_with_retry.._completion_with_retry in 8.0 seconds as it raised APIError: Invalid response object from API: '{"object":"error","message":"Only minimax-api&&xinghuo-api&&qianfan-api&&zhipu-api allowed now, your model gpt-3.5-turbo","code":40301}' (HTTP response code was 400).

本地模型使用的是 gpt-3.5-turbo
看提示,是不是接口已经不再支持 gpt-3.5-turbo 了?

@Ultrama0227
Copy link
Author

好的,我回去试试,我感觉是我的本地模型加载错了,但是我不知道哪错了,呃呃呃

@iu521
Copy link

iu521 commented Sep 25, 2023

+1

@hydai99
Copy link

hydai99 commented Sep 27, 2023

我的解决方法:

  1. 把open ai key加上或者在model_config.py里把它注释掉
  2. 把port全部从8888改成7777 (用的autoDL)

@Ultrama0227
Copy link
Author

哇偶谢谢大佬

@ite-jin
Copy link

ite-jin commented Oct 31, 2023

题主,我碰到了同样的问题,请教下如何解决的呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants