Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
cd7a8973
authored
Feb 14, 2025
by
saikidev
Committed by
GitHub
Feb 14, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: add ppio provider (#3789)
parent
18aff8b8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
0 deletions
+13
-0
packages/global/core/ai/provider.ts
+6
-0
packages/service/core/ai/config/provider/PPIO.json
+0
-0
packages/web/components/common/Icon/constants.ts
+1
-0
packages/web/components/common/Icon/icons/model/ppio.svg
+3
-0
packages/web/i18n/en/common.json
+1
-0
packages/web/i18n/zh-CN/common.json
+1
-0
packages/web/i18n/zh-Hant/common.json
+1
-0
No files found.
packages/global/core/ai/provider.ts
View file @
cd7a8973
...
@@ -22,6 +22,7 @@ export type ModelProviderIdType =
...
@@ -22,6 +22,7 @@ export type ModelProviderIdType =
|
'StepFun'
|
'StepFun'
|
'Yi'
|
'Yi'
|
'Siliconflow'
|
'Siliconflow'
|
'PPIO'
|
'Ollama'
|
'Ollama'
|
'BAAI'
|
'BAAI'
|
'FishAudio'
|
'FishAudio'
...
@@ -168,6 +169,11 @@ export const ModelProviderList: ModelProviderType[] = [
...
@@ -168,6 +169,11 @@ export const ModelProviderList: ModelProviderType[] = [
avatar
:
'model/siliconflow'
avatar
:
'model/siliconflow'
},
},
{
{
id
:
'PPIO'
,
name
:
i18nT
(
'common:model_ppio'
),
avatar
:
'model/ppio'
},
{
id
:
'Other'
,
id
:
'Other'
,
name
:
i18nT
(
'common:model_other'
),
name
:
i18nT
(
'common:model_other'
),
avatar
:
'model/huggingface'
avatar
:
'model/huggingface'
...
...
packages/service/core/ai/config/provider/PPIO.json
0 → 100644
View file @
cd7a8973
This diff is collapsed.
Click to expand it.
packages/web/components/common/Icon/constants.ts
View file @
cd7a8973
...
@@ -389,6 +389,7 @@ export const iconPaths = {
...
@@ -389,6 +389,7 @@ export const iconPaths = {
'model/openai'
:
()
=>
import
(
'./icons/model/openai.svg'
),
'model/openai'
:
()
=>
import
(
'./icons/model/openai.svg'
),
'model/qwen'
:
()
=>
import
(
'./icons/model/qwen.svg'
),
'model/qwen'
:
()
=>
import
(
'./icons/model/qwen.svg'
),
'model/siliconflow'
:
()
=>
import
(
'./icons/model/siliconflow.svg'
),
'model/siliconflow'
:
()
=>
import
(
'./icons/model/siliconflow.svg'
),
'model/ppio'
:
()
=>
import
(
'./icons/model/ppio.svg'
),
'model/sparkDesk'
:
()
=>
import
(
'./icons/model/sparkDesk.svg'
),
'model/sparkDesk'
:
()
=>
import
(
'./icons/model/sparkDesk.svg'
),
'model/stepfun'
:
()
=>
import
(
'./icons/model/stepfun.svg'
),
'model/stepfun'
:
()
=>
import
(
'./icons/model/stepfun.svg'
),
'model/yi'
:
()
=>
import
(
'./icons/model/yi.svg'
),
'model/yi'
:
()
=>
import
(
'./icons/model/yi.svg'
),
...
...
packages/web/components/common/Icon/icons/model/ppio.svg
0 → 100644
View file @
cd7a8973
<svg
viewBox=
"0 0 100 100"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M49.6479 0.359833C22.2415 0.359833 0 22.5703 0 49.9767C0 63.4861 5.41303 75.7546 14.1918 84.7039V50.0233C14.1918 40.5621 17.8832 31.6283 24.568 24.9434C31.2839 18.2275 40.1867 14.5671 49.6634 14.5671H49.9581L49.6479 14.5981C69.2372 14.5981 85.1196 30.4805 85.1196 50.0543C85.1196 51.7604 84.9955 53.4355 84.7628 55.0951L64.7238 34.9939C60.7221 30.9923 55.3556 28.7744 49.6789 28.7744C44.0022 28.7744 38.6512 30.9923 34.6341 34.9939C30.6015 39.0266 28.399 44.3621 28.399 50.0543C28.399 55.7465 30.617 61.082 34.6341 65.1146C38.6357 69.1162 44.0022 71.3342 49.6789 71.3342C55.3556 71.3342 60.7066 69.1162 64.7238 65.1146C68.4617 61.3767 70.6176 56.491 70.9123 51.2641L82.669 63.0673C77.4731 76.2199 64.6617 85.5415 49.6634 85.5415C41.8929 85.5415 34.479 83.0598 28.3835 78.4533V94.863C34.8357 97.934 42.0324 99.6402 49.6324 99.6402C77.0388 99.6402 99.2803 77.4297 99.2803 50.0233C99.3113 22.5858 77.0853 0.375343 49.6634 0.375343L49.6479 0.359833Z"
fill=
"#0062E2"
/>
</svg>
packages/web/i18n/en/common.json
View file @
cd7a8973
...
@@ -943,6 +943,7 @@
...
@@ -943,6 +943,7 @@
"model_other"
:
"Other"
,
"model_other"
:
"Other"
,
"model_qwen"
:
"Qwen"
,
"model_qwen"
:
"Qwen"
,
"model_siliconflow"
:
"Siliconflow"
,
"model_siliconflow"
:
"Siliconflow"
,
"model_ppio"
:
"PPIO"
,
"model_sparkdesk"
:
"SprkDesk"
,
"model_sparkdesk"
:
"SprkDesk"
,
"model_stepfun"
:
"StepFun"
,
"model_stepfun"
:
"StepFun"
,
"model_yi"
:
"Yi"
,
"model_yi"
:
"Yi"
,
...
...
packages/web/i18n/zh-CN/common.json
View file @
cd7a8973
...
@@ -946,6 +946,7 @@
...
@@ -946,6 +946,7 @@
"model_other"
:
"其他"
,
"model_other"
:
"其他"
,
"model_qwen"
:
"阿里千问"
,
"model_qwen"
:
"阿里千问"
,
"model_siliconflow"
:
"硅基流动"
,
"model_siliconflow"
:
"硅基流动"
,
"model_ppio"
:
"PPIO 派欧云"
,
"model_sparkdesk"
:
"讯飞星火"
,
"model_sparkdesk"
:
"讯飞星火"
,
"model_stepfun"
:
"阶跃星辰"
,
"model_stepfun"
:
"阶跃星辰"
,
"model_yi"
:
"零一万物"
,
"model_yi"
:
"零一万物"
,
...
...
packages/web/i18n/zh-Hant/common.json
View file @
cd7a8973
...
@@ -942,6 +942,7 @@
...
@@ -942,6 +942,7 @@
"model_other"
:
"其他"
,
"model_other"
:
"其他"
,
"model_qwen"
:
"阿里千問"
,
"model_qwen"
:
"阿里千問"
,
"model_siliconflow"
:
"矽基流動"
,
"model_siliconflow"
:
"矽基流動"
,
"model_ppio"
:
"PPIO 派歐雲"
,
"model_sparkdesk"
:
"訊飛星火"
,
"model_sparkdesk"
:
"訊飛星火"
,
"model_stepfun"
:
"階躍星辰"
,
"model_stepfun"
:
"階躍星辰"
,
"model_yi"
:
"零一萬物"
,
"model_yi"
:
"零一萬物"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment