mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[GH-ISSUE #4106] 配置OPENAI_API_BASE_URL之后,前端无法访问 #13501
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shouzheng on GitHub (Jul 25, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4106
Bug Report
Description
Bug Summary:
在本地服务器部署了OpenAI API兼容的大模型服务(使用vllm),然后使用下面的命令启动open-webui,在注册、登录之后,前端无法正常工作,页面空白。
启动命令:
报错内容:
Steps to Reproduce:
[Outline the steps to reproduce the bug. Be as detailed as possible.]
该命令参考了Installation for OpenAI API Usage Only。
访问:localhost:3030页面,进行注册、登录
登录之后发现页面空白,打开浏览器的Console,发现有报错,报错内容:
根据调试,关键代码在这里:
在异常时,p.name='Qwen2-7B-Instruct', prompt=''。
Expected Behavior:
[Describe what you expected to happen.]
前端页面可以正常访问。