fix(api): 修复LLM manage端点目录查询返回列表无法透过Dict响应模型校验导致设置页500

This commit is contained in:
jxxghp
2026-08-16 08:27:21 +08:00
parent cd5b85eb6c
commit 98276a68a8
3 changed files with 35 additions and 2 deletions
+2
View File
@@ -637,6 +637,8 @@ def test_openapi_success_models_have_no_implicit_empty_nested_schemas():
"ManageRequest",
# 通用管理响应的 data 为模块自定义结构,按设计不固定字段。
"Response_Dict_str__Any__",
# LLM 提供商管理响应的 data 目录查询为列表、其余动作为映射。
"Response_Union_List_Dict_str__Any____Dict_str__Any___",
}
allowed_empty_components = {"McpJsonRpcEmptyResult"}
violations = []