我本地使用的是 1.9.2 版本,想在控制台下查看 API 定义文档。但当我访问 /api/console/swagger-ui.html 时,显示“Model not registered”,而访问 /api/swagger-ui.html 却没有任何问题。这可能是什么原因造成的?我是否遗漏了某些配置?通过本地调试,我发现只有带有类似 @marshal_with(xxx_fiedds) 注解的接口才会出现此错误。
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| 求助,本地源码启动cors跨域401unauthorized | 3 | 205 | 2026 年2 月 26 日 | |
| MCPClient RuntimeError: Unsupported protocol version from the server: 1.0 | 0 | 30 | 2026 年1 月 8 日 | |
| I can't use the Create from Template feature in Sandbox | 2 | 193 | 2026 年1 月 1 日 | |
| 使用生成提示词功能为什么无法显示内容 Why can't content be displayed when using the generate prompt function? | 0 | 50 | 2025 年11 月 21 日 | |
| 升级到1.10.1后,知识库召回出错 | 1 | 366 | 2025 年12 月 11 日 | |
| Dify安装后,无法配置模型参数 | 1 | 205 | 2025 年12 月 18 日 | |
| 30分钟快速入门教程是否有内容缺失? | 3 | 128 | 2026 年3 月 1 日 | |
| OpenRouter GPT models return empty object | 1 | 34 | 2026 年1 月 21 日 | |
| PluginDaemonBasicResponse[list[PluginToolProviderEntity]]。部署的DIFY的后台web页面。突然【工具】tab页无法打开。在整个web页面会产生报错信息。 | 0 | 26 | 2026 年1 月 19 日 | |
| 模型供应商界面一无所有,有没有大佬了解这种情况怎么解决? | 5 | 159 | 2026 年2 月 4 日 |