fix assistant provider icon contrast
This commit is contained in:
1 parent
f7b291b465
commit
c43ab2ee56
3 files changed
+26
-6
No files matched your search
@@ -30,7 +30,7 @@ describe("assistant provider presets", () => {
|
||||
});
|
||||
|
||||
test.each(assistantProviderIds.filter((provider) => provider !== "custom"))(
|
||||
"%s has a Dashboard Icons provider mark",
|
||||
"%s has a valid provider mark",
|
||||
(provider) => {
|
||||
const iconUrl = assistantProviderPresets[provider].iconUrl;
|
||||
expect(iconUrl).not.toBeNull();
|
||||
@@ -38,6 +38,12 @@ describe("assistant provider presets", () => {
|
||||
},
|
||||
);
|
||||
|
||||
test("uses Groq's high-contrast LobeHub mark in dark mode", () => {
|
||||
expect(assistantProviderPresets.groq.darkIconUrl).toBe(
|
||||
"https://cdn.jsdelivr.net/npm/@lobehub/icons-static-png@latest/dark/groq.png",
|
||||
);
|
||||
});
|
||||
|
||||
test("keeps the display label separate from the provider model ID", () => {
|
||||
const model = {
|
||||
id: "deepseek/deepseek-v4-pro",
|
||||
|
||||
Reference in new issue
Block a user