Skip to content

Commit 3fac0df

Browse files
✨ feat: Add vLLM & Stepfun
1 parent f253a84 commit 3fac0df

File tree

18 files changed

+487
-3
lines changed

18 files changed

+487
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ Contributions, corrections & requests can be made on GitHub.
6161

6262
<!-- ICON LIST -->
6363

64-
| Model | Provider | Application |
65-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
66-
| ✅ [Ai21Labs (Jamba)](https://icons.lobehub.com/components/ai-21)<br/>✅ [Baichuan (百川)](https://icons.lobehub.com/components/baichuan)<br/>✅ [Claude](https://icons.lobehub.com/components/claude)<br/>✅ [Databricks (DBRX)](https://icons.lobehub.com/components/dbrx)<br/>✅ [DeepSeek](https://icons.lobehub.com/components/deep-seek)<br/>✅ [FishAudio (Bert)](https://icons.lobehub.com/components/fish-audio)<br/>✅ [Google (Gemini)](https://icons.lobehub.com/components/gemini)<br/>✅ [Google (Gemma)](https://icons.lobehub.com/components/gemma)<br/>✅ [Grok](https://icons.lobehub.com/components/grok)<br/>✅ [Hunyuan (腾讯混元)](https://icons.lobehub.com/components/hunyuan)<br/>✅ [LLaVA](https://icons.lobehub.com/components/l-la-va)<br/>✅ [Minimax](https://icons.lobehub.com/components/minimax)<br/>✅ [Mistral](https://icons.lobehub.com/components/mistral)<br/>✅ [OpenAI (DALL·E)](https://icons.lobehub.com/components/dalle)<br/>✅ [OpenChat](https://icons.lobehub.com/components/open-chat)<br/>✅ [RWKV](https://icons.lobehub.com/components/rwkv)<br/>✅ [Spark (讯飞星火)](https://icons.lobehub.com/components/spark)<br/>✅ [Tongyi (通义)](https://icons.lobehub.com/components/tongyi)<br/>✅ [Wenxin (文心)](https://icons.lobehub.com/components/wenxin)<br/>✅ [Yi (零一万物)](https://icons.lobehub.com/components/yi)<br/>✅ [Zhipu (ChatGLM)](https://icons.lobehub.com/components/chat-glm) | ✅ [01.AI (零一万物)](https://icons.lobehub.com/components/zero-one)<br/>✅ [Alibaba](https://icons.lobehub.com/components/alibaba)<br/>✅ [AntGroup](https://icons.lobehub.com/components/ant-group)<br/>✅ [Anthropic](https://icons.lobehub.com/components/anthropic)<br/>✅ [AWS](https://icons.lobehub.com/components/aws)<br/>✅ [AWS (Bedrock)](https://icons.lobehub.com/components/bedrock)<br/>✅ [Baidu](https://icons.lobehub.com/components/baidu)<br/>✅ [ByteDance](https://icons.lobehub.com/components/byte-dance)<br/>✅ [Cloudflare](https://icons.lobehub.com/components/cloudflare)<br/>✅ [Cloudflare (WorkersAI)](https://icons.lobehub.com/components/workers-ai)<br/>✅ [Cohere (Command)](https://icons.lobehub.com/components/cohere)<br/>✅ [Fireworks](https://icons.lobehub.com/components/fireworks)<br/>✅ [Google](https://icons.lobehub.com/components/google)<br/>✅ [Google(DeepMind)](https://icons.lobehub.com/components/deep-mind)<br/>✅ [Groq](https://icons.lobehub.com/components/groq)<br/>✅ [HuggingFace](https://icons.lobehub.com/components/hugging-face)<br/>✅ [LM Studio](https://icons.lobehub.com/components/lm-studio)<br/>✅ [LobeHub](https://icons.lobehub.com/components/lobe-hub)<br/>✅ [Meta](https://icons.lobehub.com/components/meta)<br/>✅ [Microsoft (Azure)](https://icons.lobehub.com/components/azure)<br/>✅ [Moonshot (月之暗面)](https://icons.lobehub.com/components/moonshot)<br/>✅ [Ollama](https://icons.lobehub.com/components/ollama)<br/>✅ [OpenAI (ChatGPT)](https://icons.lobehub.com/components/open-ai)<br/>✅ [OpenRouter](https://icons.lobehub.com/components/open-router)<br/>✅ [Perplexity](https://icons.lobehub.com/components/perplexity)<br/>✅ [Replicate](https://icons.lobehub.com/components/replicate)<br/>✅ [Stability (StableDiffusion)](https://icons.lobehub.com/components/stability)<br/>✅ [Tencent](https://icons.lobehub.com/components/tencent)<br/>✅ [together.ai](https://icons.lobehub.com/components/together)<br/>✅ [Zeabur](https://icons.lobehub.com/components/zeabur)<br/>✅ [Zhipu (智谱)](https://icons.lobehub.com/components/zhipu) | ✅ [Adobe](https://icons.lobehub.com/components/adobe)<br/>✅ [Adobe (Firefly)](https://icons.lobehub.com/components/adobe-firefly)<br/>✅ [Automatic1111 (SD Webui)](https://icons.lobehub.com/components/automatic)<br/>✅ [Github](https://icons.lobehub.com/components/github)<br/>✅ [Github Copilot](https://icons.lobehub.com/components/github-copilot)<br/>✅ [Google (Colab)](https://icons.lobehub.com/components/colab)<br/>✅ [Langfuse](https://icons.lobehub.com/components/langfuse)<br/>✅ [Microsoft Copilot](https://icons.lobehub.com/components/copilot)<br/>✅ [Midjourney](https://icons.lobehub.com/components/midjourney)<br/>✅ [Nvidia (ChatWithRTX)](https://icons.lobehub.com/components/nvidia)<br/>✅ [Pollinations](https://icons.lobehub.com/components/pollinations)<br/>✅ [Qingyan (智谱清言)](https://icons.lobehub.com/components/qingyan)<br/>✅ [Suno](https://icons.lobehub.com/components/suno) |
64+
| Model | Provider | Application |
65+
| ----- | -------- | ----------- |
66+
| | | |
6767

6868
<!-- ICON LIST -->
6969

src/Stepfun/components/Avatar.tsx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { memo } from 'react';
2+
3+
import IconAvatar, { type IconAvatarProps } from '@/IconAvatar';
4+
5+
import { COLOR_GRADIENT, TITLE } from '../style';
6+
import Mono from './Mono';
7+
8+
export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
9+
10+
const Avatar = memo<AvatarProps>(({ background, ...rest }) => {
11+
return (
12+
<IconAvatar
13+
Icon={Mono}
14+
aria-label={TITLE}
15+
background={background || COLOR_GRADIENT}
16+
iconMultiple={0.6}
17+
{...rest}
18+
/>
19+
);
20+
});
21+
22+
export default Avatar;

src/Stepfun/components/Color.tsx

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import { forwardRef } from 'react';
2+
3+
import { useFillId } from '@/hooks/useFillId';
4+
import type { IconType } from '@/types';
5+
6+
import { TITLE } from '../style';
7+
8+
const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
9+
const { id, fill } = useFillId(TITLE);
10+
return (
11+
<svg
12+
height={size}
13+
ref={ref}
14+
style={{ flex: 'none', lineHeight: 1, ...style }}
15+
viewBox="0 0 24 24"
16+
width={size}
17+
xmlns="http://www.w3.org/2000/svg"
18+
{...rest}
19+
>
20+
<title>{TITLE}</title>
21+
<path
22+
d="M22.012 0h1.032v.927H24v.968h-.956V3.78h-1.032V1.896h-1.878v-.97h1.878V0zM2.6 12.371V1.87h.969v10.502h-.97zm10.423.66h10.95v.918h-6.208v9.579h-4.742V13.03zM5.629 3.333v12.356H0v4.51h10.386V8L20.859 8l-.003-4.668-15.227.001z"
23+
fill={fill}
24+
fillRule="evenodd"
25+
></path>
26+
<defs>
27+
<linearGradient
28+
gradientUnits="userSpaceOnUse"
29+
id={id}
30+
x1="1.646"
31+
x2="18.342"
32+
y1="1.916"
33+
y2="22.091"
34+
>
35+
<stop stopColor="#01A9FF"></stop>
36+
<stop offset="1" stopColor="#0160FF"></stop>
37+
</linearGradient>
38+
</defs>
39+
</svg>
40+
);
41+
});
42+
43+
export default Icon;

src/Stepfun/components/Combine.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { memo } from 'react';
2+
3+
import IconCombine, { type IconCombineProps } from '@/IconCombine';
4+
5+
import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from '../style';
6+
import Color from './Color';
7+
import Mono from './Mono';
8+
import Text from './Text';
9+
10+
export interface CombineProps extends Omit<IconCombineProps, 'Icon' | 'Text'> {
11+
type?: 'color' | 'mono';
12+
}
13+
const Combine = memo<CombineProps>(({ type = 'mono', extraStyle, ...rest }) => {
14+
const Icon = type === 'color' ? Color : Mono;
15+
16+
return (
17+
<IconCombine
18+
Icon={Icon}
19+
Text={Text}
20+
aria-label={TITLE}
21+
extraStyle={{ fontWeight: 500, ...extraStyle }}
22+
spaceMultiple={SPACE_MULTIPLE}
23+
textMultiple={TEXT_MULTIPLE}
24+
{...rest}
25+
/>
26+
);
27+
});
28+
29+
export default Combine;

src/Stepfun/components/Mono.tsx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import { forwardRef } from 'react';
2+
3+
import type { IconType } from '@/types';
4+
5+
import { TITLE } from '../style';
6+
7+
const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
8+
return (
9+
<svg
10+
fill="currentColor"
11+
fillRule="evenodd"
12+
height={size}
13+
ref={ref}
14+
style={{ flex: 'none', lineHeight: 1, ...style }}
15+
viewBox="0 0 24 24"
16+
width={size}
17+
xmlns="http://www.w3.org/2000/svg"
18+
{...rest}
19+
>
20+
<title>{TITLE}</title>
21+
<path d="M22.012 0h1.032v.927H24v.968h-.956V3.78h-1.032V1.896h-1.878v-.97h1.878V0zM2.6 12.371V1.87h.969v10.502h-.97zm10.423.66h10.95v.918h-6.208v9.579h-4.742V13.03zM5.629 3.333v12.356H0v4.51h10.386V8L20.859 8l-.003-4.668-15.227.001z"></path>
22+
</svg>
23+
);
24+
});
25+
26+
export default Icon;

src/Stepfun/components/Text.tsx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import { forwardRef } from 'react';
2+
3+
import type { IconType } from '@/types';
4+
5+
import { TITLE } from '../style';
6+
7+
const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
8+
return (
9+
<svg
10+
fill="currentColor"
11+
fillRule="evenodd"
12+
height={size}
13+
ref={ref}
14+
style={{ flex: 'none', lineHeight: 1, width: 'fit-content', ...style }}
15+
viewBox="0 0 90 24"
16+
xmlns="http://www.w3.org/2000/svg"
17+
{...rest}
18+
>
19+
<title>{TITLE}</title>
20+
<path d="M19.408 6.051a49.571 49.571 0 01-2.53-3.567.845.845 0 00-.336-.361A.93.93 0 0016.08 2h-1.77a.93.93 0 00-.814.428 40.853 40.853 0 01-2.516 3.5A22.752 22.752 0 018.216 8.8l1.172 1.451c1.052-.851 2.078-1.896 3.045-3.106.945-1.182 1.733-2.263 2.342-3.213l.052-.08h.71l.05.078c1.934 2.895 3.717 5.022 5.297 6.323l1.193-1.451a17.713 17.713 0 01-2.673-2.749l.004-.002z"></path>
21+
<path
22+
clipRule="evenodd"
23+
d="M38.76 15.054l.153-.347.164.341a18.47 18.47 0 005.207 6.504l1.217-1.542a16.082 16.082 0 01-3.386-3.648 17.204 17.204 0 01-2.118-4.286l-.075-.226h5.242V9.886h-5.33v-4.84l.159-.014c1.722-.15 3.217-.387 4.443-.705l-.61-1.876a23.937 23.937 0 01-3.578.595 51.91 51.91 0 01-4.149.191h-2.218V5.18h2.216c.365 0 .902-.013 1.593-.038l.181-.007v4.75h-5.058V2.722H25.34v7.242h3.12v8.21l-1.159.238v-6.178h-1.96v6.58l-.689.14.398 1.903 7.738-1.588-.398-1.903-1.969.405v-3.426h2.562V12.4h-2.562V9.963h2.575v1.887h4.72l-.042.206c-.496 2.432-2.002 4.933-4.481 7.448l.007.031-.045.01c-.316.319-.648.639-.995.959L33.445 22c2.517-2.31 4.304-4.648 5.313-6.946h.002zm-7.915-7.077h-3.527V4.665h3.527v3.312zM50.107 17.138l.659-2.926h6.055v1.652h-4.738l-.438 1.964h5.176v2.161h-8.517v1.943H67.32v-1.943h-8.516v-2.16h6.984v-1.965h-6.984v-1.652h7.425v-1.964h-7.425v-1.514h5.856a.314.314 0 00.053-.006h.952V2.546H49.846v.833l-.004.033a2.317 2.317 0 00-.009.093v6.267c0 .035.004.067.011.103v.851h1.005v.006h5.97v1.514h-5.614l.139-.616h-2.033l-1.238 5.506h2.032l.002.002zm1.731-12.65h11.823v1.18H51.838v-1.18zm0 4.28V7.61h11.823v1.157H51.838z"
24+
></path>
25+
<path d="M12.964 9.752v4.823c0 1.34-.27 2.658-.804 3.918a12.493 12.493 0 01-2.206 3.464l-1.352-1.294a10.32 10.32 0 001.834-2.873c.45-1.059.68-2.14.68-3.215V9.752h1.848zM19.24 9.752h-1.848V21.78h1.848V9.752zM8.701 14.052c0 .463-.067.924-.202 1.368h-.002c-.482 1.534-1.693 2.658-3.598 3.343l-.677-1.809c1.277-.477 2.078-1.173 2.383-2.076.075-.264.111-.526.111-.779 0-.627-.144-1.281-.43-1.946-.287-.663-.577-1.19-.854-1.549a1.138 1.138 0 01-.19-.616.79.79 0 01.026-.235l1.313-5.14H3.983v17.385H2V2.648h5.822c.303 0 .553.125.766.38.15.178.227.373.227.58 0 .06-.017.151-.046.269l-1.474 5.93.038.062c.909 1.469 1.368 2.877 1.368 4.183zM73.342 6.593H87.86v1.964H73.342V6.593z"></path>
26+
<path d="M87.86 2.546H69.894l-.006 19.35h1.983V4.489H87.86V2.546z"></path>
27+
<path d="M77.575 19.945h-1.257v-7.55H87.86v-1.944H73.342v1.944h1.014v9.5l.587.002.01.014h3.258l5.266-3.736v-.001l1.613-1.143-1.613 1.144 2.789 3.737 1.595-1.167-2.77-3.714 2.768-1.962-1.155-1.597-4.405 3.123-4.724 3.35z"></path>
28+
</svg>
29+
);
30+
});
31+
32+
export default Icon;

0 commit comments

Comments
 (0)