mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-30 15:59:09 +08:00
refactor(models.ts): Adjust the logo matching order of the GPT-5 model (#9073)
* refactor(models.ts): 调整GPT-5模型logo匹配顺序
* refactor(models): 简化GPT-5模型logo的正则匹配模式
* Revert "Update gpt-5.png"
This reverts commit 1e8143eb8c.
This commit is contained in:
parent
207f2e1689
commit
be29f163a3
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 26 KiB |
@ -392,10 +392,10 @@ export function getModelLogo(modelId: string) {
|
||||
'gpt-image': ChatGPTImageModelLogo,
|
||||
'gpt-3': isLight ? ChatGPT35ModelLogo : ChatGPT35ModelLogoDark,
|
||||
'gpt-4': isLight ? ChatGPT4ModelLogo : ChatGPT4ModelLogoDark,
|
||||
'gpt-5(?:-[0-9]+(?:-[0-9]+)*)?': GPT5ModelLogo,
|
||||
'gpt-5-mini': GPT5MiniModelLogo,
|
||||
'gpt-5-nano': GPT5NanoModelLogo,
|
||||
'gpt-5-chat': GPT5ChatModelLogo,
|
||||
'gpt-5': GPT5ModelLogo,
|
||||
gpts: isLight ? ChatGPT4ModelLogo : ChatGPT4ModelLogoDark,
|
||||
'gpt-oss(?:-[\\w-]+)': isLight ? ChatGptModelLogo : ChatGptModelLogoDark,
|
||||
'text-moderation': isLight ? ChatGptModelLogo : ChatGptModelLogoDark,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user