Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix icon for unknown models #612

Merged
merged 1 commit into from
Apr 23, 2024
Merged

hotfix icon for unknown models #612

merged 1 commit into from
Apr 23, 2024

Conversation

mingming-ma
Copy link
Collaborator

@mingming-ma mingming-ma commented Apr 23, 2024

I tried to fixed similar issue in #564 for Free AI Models and not covered all situations, my bad 😢
I should have added the second check this.name.includes("gpt") in the src/lib/ChatCraftModel.ts

    if (vendor === "openai" && this.name.includes("gpt")) {
      return "/openai-logo.png";
    }

Results

(Bg color is fixed for same name.)

image image image image image

Though more work needed to have better looking as described in issue #611.

@mingming-ma mingming-ma added the hotfix a small piece of code developed to correct a major software bug and released as quickly as possible label Apr 23, 2024
@mingming-ma mingming-ma requested a review from humphd April 23, 2024 15:40
@mingming-ma mingming-ma merged commit f6407ad into main Apr 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotfix a small piece of code developed to correct a major software bug and released as quickly as possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants