Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(ui): show the subfolder path for non-browsable skill sources

milan7d5c5d8873e5
diff --git a/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.test.tsx b/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.test.tsx
index 98ae4a44ae6..2f600397a4b 100644
--- a/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.test.tsx
+++ b/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.test.tsx
@@ -36,7 +36,7 @@ describe("SkillDetail source", () => {
onBack={vi.fn()}
/>,
);
- expect(screen.getByText("[email protected]:org/repo.git")).toBeInTheDocument();
+ expect(screen.getByText("[email protected]:org/repo.git @ plugins/x")).toBeInTheDocument();
expect(screen.queryByRole("link", { name: /ghe.example.com/ })).not.toBeInTheDocument();
});
});
diff --git a/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.tsx b/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.tsx
index 0f25b8ad515..ad98fdf232c 100644
--- a/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.tsx
+++ b/ui/litellm-dashboard/src/components/claude_code_plugins/skill_detail.tsx
@@ -29,7 +29,9 @@ const SkillDetail: React.FC<SkillDetailProps> = ({ skill, onBack }) => {
}
return sourceLink;
})();
- const sourceText = skill.source.url ?? sourceUrl;
+ const sourceText = skill.source.url
+ ? `${skill.source.url}${skill.source.path ? ` @ ${skill.source.path}` : ""}`
+ : sourceUrl;
const installCommand = formatInstallCommand(skill);