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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(ui): match skill source links by exact name so codeql stops flagging the host regexes
ryan7cd6869cfaf7
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.tsxindex 2f600397a4b..1ec1f72f4a1 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@@ -15,7 +15,7 @@ const buildSkill = (source: Plugin["source"]): Plugin => ({describe("SkillDetail source", () => {it("links a github source to the repository", () => {render(<SkillDetail skill={buildSkill({ source: "github", repo: "org/repo" })} onBack={vi.fn()} />);- expect(screen.getByRole("link", { name: /github.com\/org\/repo/ })).toHaveAttribute(+ expect(screen.getByRole("link", { name: "github.com/org/repo" })).toHaveAttribute("href","https://github.com/org/repo",);@@ -26,7 +26,7 @@ describe("SkillDetail source", () => {<SkillDetail skill={buildSkill({ source: "url", url: "[email protected]:org/repo.git" })} onBack={vi.fn()} />,);expect(screen.getByText("[email protected]:org/repo.git")).toBeInTheDocument();- expect(screen.queryByRole("link", { name: /ghe.example.com/ })).not.toBeInTheDocument();+ expect(screen.queryByRole("link")).not.toBeInTheDocument();});it("renders an ssh git-subdir source as plain text without a tree path", () => {@@ -37,6 +37,6 @@ describe("SkillDetail source", () => {/>,);expect(screen.getByText("[email protected]:org/repo.git @ plugins/x")).toBeInTheDocument();- expect(screen.queryByRole("link", { name: /ghe.example.com/ })).not.toBeInTheDocument();+ expect(screen.queryByRole("link")).not.toBeInTheDocument();});});