forked from lobehub/lobe-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
β¨ feat: Add 360AI model provider (lobehub#3130)
* β¨ feat: Add Zhinao model provider * π¨ chore: update Zhinao models info * π¨ chore: update Zhinao models tokens info * π style: fix model tag icon missing * π style: update Ai360 icon * π style: fix typo in ProviderAvatar * π¨ chore: cleanup * π¨ chore: rename Zhinao to Ai360 (360 ζΊθ) * π¨ chore: remove blank space
- Loading branch information
1 parent
f699021
commit 79c5f86
Showing
16 changed files
with
357 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { ModelProviderCard } from '@/types/llm'; | ||
|
||
// ref https://ai.360.cn/platform/docs/overview | ||
const Ai360: ModelProviderCard = { | ||
chatModels: [ | ||
{ | ||
displayName: '360GPT Pro', | ||
enabled: true, | ||
functionCall: false, | ||
id: '360gpt-pro', | ||
maxOutput: 7000, | ||
tokens: 8192, | ||
}, | ||
{ | ||
displayName: '360GPT Turbo', | ||
enabled: true, | ||
functionCall: false, | ||
id: '360gpt-turbo', | ||
maxOutput: 8192, | ||
tokens: 8192, | ||
}, | ||
{ | ||
displayName: '360GPT Turbo Responsibility 8K', | ||
enabled: true, | ||
functionCall: false, | ||
id: '360gpt-turbo-responsibility-8k', | ||
maxOutput: 2048, | ||
tokens: 8192, | ||
}, | ||
], | ||
checkModel: '360gpt-turbo', | ||
disableBrowserRequest: true, | ||
id: 'ai360', | ||
modelList: { showModelFetcher: true }, | ||
name: '360ζΊθ', | ||
}; | ||
|
||
export default Ai360; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.