Skip to content

Commit

Permalink
feat: Add Cohere model support and binary asset.
Browse files Browse the repository at this point in the history
- Added new binary asset 'cohere.webp'.
- Added Cohere model support to the application.
  • Loading branch information
kangfenmao committed Sep 11, 2024
1 parent 7e8687d commit be5aaa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Binary file added src/renderer/src/assets/images/models/cohere.webp
Binary file not shown.
5 changes: 4 additions & 1 deletion src/renderer/src/config/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import BaichuanModelLogo from '@renderer/assets/images/models/baichuan.png'
import ChatGLMModelLogo from '@renderer/assets/images/models/chatglm.png'
import ChatGPTModelLogo from '@renderer/assets/images/models/chatgpt.jpeg'
import ClaudeModelLogo from '@renderer/assets/images/models/claude.png'
import CohereModelLogo from '@renderer/assets/images/models/cohere.webp'
import DeepSeekModelLogo from '@renderer/assets/images/models/deepseek.png'
import DoubaoModelLogo from '@renderer/assets/images/models/doubao.png'
import EmbeddingModelLogo from '@renderer/assets/images/models/embedding.png'
Expand Down Expand Up @@ -109,7 +110,9 @@ export function getModelLogo(modelId: string) {
palm: PalmModelLogo,
step: StepModelLogo,
abab: HailuoModelLogo,
'ep-202': DoubaoModelLogo
'ep-202': DoubaoModelLogo,
cohere: CohereModelLogo,
command: CohereModelLogo
}

for (const key in logoMap) {
Expand Down

0 comments on commit be5aaa2

Please sign in to comment.