fix(webui): keep model management available and bundle core provider logos
This commit is contained in:
1 parent
4fd4dc522d
commit
0cac850737
14 files changed
+207
-37
No files matched your search
@@ -9,6 +9,11 @@ import {
|
||||
} from "@/lib/provider-brand";
|
||||
|
||||
describe("provider brand logos", () => {
|
||||
it.each(["deepseek", "anthropic", "openai", "openai_codex", "gemini"])("bundles %s's primary logo without an external request", (provider) => {
|
||||
expect(providerBrand(provider)?.logoUrl).toMatch(/^\/src\/assets\/providers\/.*\.svg$/);
|
||||
expect(providerBrand(provider)?.logoUrl).toBe(providerBrand(provider)?.logoUrls[0]);
|
||||
});
|
||||
|
||||
it("covers Eden AI, OpenCode variants, and Kimi Coding with their official assets", () => {
|
||||
expect(providerBrand("edenai")?.logoUrl).toContain("cdn.prod.website-files.com/");
|
||||
expect(providerBrand("opencode")?.logoUrl).toBe("https://opencode.ai/favicon-96x96-v3.png");
|
||||
|
||||
Reference in new issue
Block a user