Skip to content

Commit 3e6a9d2

Browse files
suixiniolooplj
authored andcommitted
fix(channels): import Qiniu icon in config_channels (#1613)
CHANNEL_CONFIGS.qiniu references the Qiniu icon but the upstream PR that added Qiniu support imported it only in config_providers.ts and forgot the matching import here. The bundled module throws "ReferenceError: Qiniu is not defined" at evaluation, which crashes any page that imports config_channels (channels list, project requests, etc).
1 parent 1ea0bbf commit 3e6a9d2

1 file changed

Lines changed: 31 additions & 1 deletion

File tree

frontend/src/features/channels/data/config_channels.ts

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
import type { ComponentType } from 'react';
2-
import { OpenAI, Anthropic, Google, DeepSeek, Doubao, Moonshot, Zhipu, OpenRouter, XAI, Volcengine, SiliconCloud, PPIO, ZAI, LongCat, Minimax, BurnCloud, Vercel, ModelScope, Bailian, Jina, DeepInfra, Github, Claude, Cerebras, XiaomiMiMo, Fireworks, Ollama } from '@lobehub/icons';
2+
import {
3+
OpenAI,
4+
Anthropic,
5+
Google,
6+
DeepSeek,
7+
Doubao,
8+
Moonshot,
9+
Zhipu,
10+
OpenRouter,
11+
XAI,
12+
Volcengine,
13+
SiliconCloud,
14+
PPIO,
15+
ZAI,
16+
LongCat,
17+
Minimax,
18+
BurnCloud,
19+
Vercel,
20+
ModelScope,
21+
Bailian,
22+
Jina,
23+
DeepInfra,
24+
Github,
25+
Claude,
26+
Cerebras,
27+
Qiniu,
28+
XiaomiMiMo,
29+
Fireworks,
30+
Ollama,
31+
AiHubMix,
32+
} from '@lobehub/icons';
333
import { NanoGPTIcon } from '../components/nanogpt-icon';
434
import { BURNCLOUD_DEFAULT_MODELS } from './burncloud-models';
535
import { ApiFormat, ChannelType } from './schema';

0 commit comments

Comments
 (0)