mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-24 23:46:52 +08:00
### What problem does this PR solve? Feat: Add LangfuseCard component. #6155 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -23,6 +23,7 @@ const {
|
||||
removeSystemToken,
|
||||
createSystemToken,
|
||||
getSystemConfig,
|
||||
setLangfuseConfig,
|
||||
} = api;
|
||||
|
||||
const methods = {
|
||||
@ -106,6 +107,18 @@ const methods = {
|
||||
url: getSystemConfig,
|
||||
method: 'get',
|
||||
},
|
||||
setLangfuseConfig: {
|
||||
url: setLangfuseConfig,
|
||||
method: 'put',
|
||||
},
|
||||
getLangfuseConfig: {
|
||||
url: setLangfuseConfig,
|
||||
method: 'get',
|
||||
},
|
||||
deleteLangfuseConfig: {
|
||||
url: setLangfuseConfig,
|
||||
method: 'delete',
|
||||
},
|
||||
} as const;
|
||||
|
||||
const userService = registerServer<keyof typeof methods>(methods, request);
|
||||
|
||||
Reference in New Issue
Block a user