-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[Bug]Dashboard 离线 Provider 在面板不可见 #8870
Copy link
Copy link
Open
Labels
area:providerThe bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.The bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.area:webuiThe bug / feature is about webui(dashboard) of astrbot.The bug / feature is about webui(dashboard) of astrbot.bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
area:providerThe bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.The bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner.area:webuiThe bug / feature is about webui(dashboard) of astrbot.The bug / feature is about webui(dashboard) of astrbot.bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
What happened / 发生了什么
在 Dashboard 「模型提供商」页面,当任意一个已配置的 provider 后端服务不可达时(
如 LM Studio、Ollama、vLLM、LocalAI 等本地部署方案),该 provider 及其关联模型从
面板中完全不可见,用户无法查看、编辑或删除已有的配置。
这不仅是 LM Studio 的问题,而是影响所有本地/自托管模型提供商的普遍性问题:
用户无法判断是自己配置丢失了、还是只是后端没开,体验很差。
建议:离线 provider 应该仍然可见,标记为「离线」或「不可达」状态即可。
Reproduce / 如何复现?
AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器
AstrBot: v4.25.5
部署方式: Windows 本地 Python venv 直接运行
提供商: LM Studio (openai_chat_completion, api_base=http://127.0.0.1:1234/v1)
消息平台: QQ 官方 Bot (qq_official)
OS
Windows
Logs / 报错日志
AstrBot 自身无报错日志。provider 配置在 cmd_config.json 中完整保留(provider_sources
和 provider 字段均未丢失),仅 Dashboard 前端不渲染离线 provider。
怀疑是前端在获取 provider 列表时调用了 provider 的状态检查 API,不可达时直接过滤掉
了整条记录,而不是降级显示为离线状态。
Are you willing to submit a PR? / 你愿意提交 PR 吗?
Code of Conduct