feat: add openai-compatible model gateway

This commit is contained in:
hailin
2026-07-14 13:44:55 +08:00
parent 13b0768dfd
commit 11bab3e98f
22 changed files with 940 additions and 4 deletions

View File

@@ -56,17 +56,33 @@ DEFAULT_MENUS: tuple[MenuSpec, ...] = (
"platform",
20,
"agent.manage",
is_enabled=False,
),
MenuSpec(
"platform.models",
"模型与工具",
"#/models",
"模型渠道",
"#/modelhub/providers",
"settings",
"platform",
30,
"model.manage",
is_enabled=False,
),
MenuSpec(
"platform.skills",
"Skill 配置",
"#/skills",
"settings",
"platform",
40,
"skill.manage",
),
MenuSpec(
"platform.agent_runs",
"运行记录",
"#/agent-runs",
"audit",
"platform",
50,
"agent.run.view",
),
MenuSpec("system", "系统治理", icon="shield", sort_order=40),
MenuSpec(