Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Linville <[email protected]>
  • Loading branch information
g-linville committed Jan 17, 2025
1 parent ba0d4c7 commit 05e71cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function ProviderDeconfigure({
);
}

function warningMessage(t: string | undefined): string | undefined {
function warningMessage(t?: string): string | undefined {
switch (t) {
case "modelprovider":
return "Deconfiguring this model provider will remove all models associated with it and reset it to its unconfigured state. You will need to set up the model provider once again to use it.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ export function ProviderIcon({
className={cn({
"h-6 w-6": size === "md",
"h-16 w-16": size === "lg",
"dark:invert":
provider.id !== CommonModelProviderIds.AZURE_OPENAI &&
provider.id !== CommonAuthProviderIds.GOOGLE &&
provider.id !== CommonAuthProviderIds.GITHUB,
"dark:invert": ![
CommonModelProviderIds.AZURE_OPENAI,
CommonAuthProviderIds.GOOGLE,
CommonAuthProviderIds.GITHUB,
].includes(provider.id),
})}
/>
) : (
Expand Down

0 comments on commit 05e71cd

Please sign in to comment.