Skip to content

Error 401: LLM API call failed #730

@wang1113728423

Description

@wang1113728423

I am using the Python environment locally to start the webui. The large model I have chosen is modelscope. Why do I get error prompts and errors when running? I have verified that the configuration of modelscope is correct and can make normal requests without encountering a 401 error. Furthermore, executing the test_llm_api.py file locally works fine. Is it necessary to add the OPENAI_API_KEY configuration, or is it because modelscope is not supported and it is still using openai

我本地使用python的环境启动webui,我选择的大模型为modelscope,为何运行时会提示错误,并且会报错401;我已经验证过modelscope的配置没有问题,可以正常请求不会401;并且本地执行test_llm_api.py文件正常;难道非得加上OPENAI_API_KEY的配置,还是说不支持modelscope还是走的openai

Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions