mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-23 18:10:26 +08:00
fix: pangu-pro-moe not reasoning (#8572)
This commit is contained in:
parent
8ffdb4d1c2
commit
2e87c76b6e
99
src/renderer/src/assets/images/models/pangu.svg
Normal file
99
src/renderer/src/assets/images/models/pangu.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 92 KiB |
@ -108,6 +108,7 @@ import NvidiaModelLogo from '@renderer/assets/images/models/nvidia.png'
|
||||
import NvidiaModelLogoDark from '@renderer/assets/images/models/nvidia_dark.png'
|
||||
import PalmModelLogo from '@renderer/assets/images/models/palm.png'
|
||||
import PalmModelLogoDark from '@renderer/assets/images/models/palm_dark.png'
|
||||
import PanguModelLogo from '@renderer/assets/images/models/pangu.svg'
|
||||
import {
|
||||
default as PerplexityModelLogo,
|
||||
default as PerplexityModelLogoDark
|
||||
@ -413,7 +414,8 @@ export function getModelLogo(modelId: string) {
|
||||
'bge-': BgeModelLogo,
|
||||
'voyage-': VoyageModelLogo,
|
||||
tokenflux: isLight ? TokenFluxModelLogo : TokenFluxModelLogoDark,
|
||||
'nomic-': NomicLogo
|
||||
'nomic-': NomicLogo,
|
||||
'pangu-': PanguModelLogo
|
||||
}
|
||||
|
||||
for (const key in logoMap) {
|
||||
@ -2748,7 +2750,8 @@ export function isReasoningModel(model?: Model): boolean {
|
||||
isPerplexityReasoningModel(model) ||
|
||||
model.id.toLowerCase().includes('glm-z1') ||
|
||||
model.id.toLowerCase().includes('magistral') ||
|
||||
model.id.toLowerCase().includes('minimax-m1')
|
||||
model.id.toLowerCase().includes('minimax-m1') ||
|
||||
model.id.toLowerCase().includes('pangu-pro-moe')
|
||||
) {
|
||||
return true
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user