Skip to content

Commit

Permalink
feat: Add new image file and Poe app support.
Browse files Browse the repository at this point in the history
- Added a new image file.
- Added Poe app to the list of supported apps.
- Removed unused provider configuration.
  • Loading branch information
kangfenmao committed Sep 11, 2024
1 parent 98704fd commit ceab574
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
Binary file added src/renderer/src/assets/images/apps/poe.webp
Binary file not shown.
34 changes: 20 additions & 14 deletions src/renderer/src/config/minapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import BaiduAiAppLogo from '@renderer/assets/images/apps/baidu-ai.png'
import DevvAppLogo from '@renderer/assets/images/apps/devv.png'
import MetasoAppLogo from '@renderer/assets/images/apps/metaso.webp'
import PerplexityAppLogo from '@renderer/assets/images/apps/perplexity.webp'
import PoeAppLogo from '@renderer/assets/images/apps/poe.webp'
import SensetimeAppLogo from '@renderer/assets/images/apps/sensetime.png'
import SparkDeskAppLogo from '@renderer/assets/images/apps/sparkdesk.png'
import TiangongAiLogo from '@renderer/assets/images/apps/tiangong.png'
Expand All @@ -14,6 +15,11 @@ import { PROVIDER_CONFIG } from '@renderer/config/provider'
import { MinAppType } from '@renderer/types'

const _apps: MinAppType[] = [
{
name: '360AI搜索',
logo: AiSearchAppLogo,
url: 'https://so.360.com/'
},
{
name: 'AI 助手',
logo: AiAssistantAppLogo,
Expand All @@ -24,11 +30,6 @@ const _apps: MinAppType[] = [
logo: BaiduAiAppLogo,
url: 'https://yiyan.baidu.com/'
},
{
name: 'SparkDesk',
logo: SparkDeskAppLogo,
url: 'https://xinghuo.xfyun.cn/desk'
},
{
name: '腾讯元宝',
logo: TencentYuanbaoAppLogo,
Expand All @@ -40,29 +41,34 @@ const _apps: MinAppType[] = [
url: 'https://chat.sensetime.com/wb/chat'
},
{
name: '360AI搜索',
logo: AiSearchAppLogo,
url: 'https://so.360.com/'
name: 'SparkDesk',
logo: SparkDeskAppLogo,
url: 'https://xinghuo.xfyun.cn/desk'
},
{
name: '秘塔AI搜索',
logo: MetasoAppLogo,
url: 'https://metaso.cn/'
},
{
name: '天工AI',
logo: TiangongAiLogo,
url: 'https://www.tiangong.cn/'
name: 'Poe',
logo: PoeAppLogo,
url: 'https://poe.com'
},
{
name: 'perplexity',
logo: PerplexityAppLogo,
url: 'https://www.perplexity.ai/'
},
{
name: 'DEVV_',
logo: DevvAppLogo,
url: 'https://devv.ai/'
},
{
name: 'perplexity',
logo: PerplexityAppLogo,
url: 'https://www.perplexity.ai/'
name: '天工AI',
logo: TiangongAiLogo,
url: 'https://www.tiangong.cn/'
},
{
name: '知乎直答',
Expand Down
5 changes: 0 additions & 5 deletions src/renderer/src/config/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,6 @@ export const PROVIDER_CONFIG = {
apiKey: 'https://github.com/settings/tokens',
docs: 'https://docs.github.com/en/github-models',
models: 'https://github.com/marketplace/models'
},
app: {
name: 'Github Models',
url: 'https://github.com/marketplace/models/azure-openai/gpt-4o/playground',
logo: GithubProviderLogo
}
},
yi: {
Expand Down

0 comments on commit ceab574

Please sign in to comment.