Merge branch 'feature/fireworks' into 'main'

add:添加fireworks

See merge request apipark/APIPark!6
This commit is contained in:
李冬杰
2024-10-11 17:16:47 +08:00
2 changed files with 5 additions and 1 deletions
@@ -28,4 +28,4 @@ provider_credential_schema:
placeholder:
zh_Hans: 在此输入您的 API Key
en_US: Enter your API Key
address: https://api.openai.com
address: https://api.fireworks.ai
+4
View File
@@ -63,6 +63,10 @@ var dynamicResourceMap = map[string]Worker{
Profession: ProfessionAIProvider,
Driver: "zhipuai",
},
"fireworks": {
Profession: ProfessionAIProvider,
Driver: "fireworks",
},
}
type Worker struct {