mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Feat: add CometAPI to LLMFactory and update related mappings (#10119)
### Related issues #10078 ### What problem does this PR solve? Integrate CometAPI provider. ### Type of change - [x] New Feature (non-breaking change which adds functionality) - [x] Documentation Update
This commit is contained in:
6
web/src/assets/svg/llm/cometapi.svg
Normal file
6
web/src/assets/svg/llm/cometapi.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 96 KiB |
@ -56,6 +56,7 @@ export enum LLMFactory {
|
||||
XAI = 'xAI',
|
||||
TokenPony = 'TokenPony',
|
||||
Meituan = 'Meituan',
|
||||
CometAPI = 'CometAPI',
|
||||
}
|
||||
|
||||
// Please lowercase the file name
|
||||
@ -117,4 +118,5 @@ export const IconMap = {
|
||||
[LLMFactory.XAI]: 'xai',
|
||||
[LLMFactory.TokenPony]: 'token-pony',
|
||||
[LLMFactory.Meituan]: 'longcat',
|
||||
[LLMFactory.CometAPI]: 'cometapi',
|
||||
};
|
||||
|
||||
@ -44,6 +44,7 @@ const orderFactoryList = [
|
||||
LLMFactory.Ollama,
|
||||
LLMFactory.Xinference,
|
||||
LLMFactory.Ai302,
|
||||
LLMFactory.CometAPI,
|
||||
];
|
||||
|
||||
export const sortLLmFactoryListBySpecifiedOrder = (list: IFactory[]) => {
|
||||
|
||||
Reference in New Issue
Block a user