Feat: Add LangfuseCard component. #6155 (#6468)

### 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:
balibabu
2025-03-24 19:07:55 +08:00
committed by GitHub
parent 5e0a77df2b
commit 3c57a9986c
15 changed files with 431 additions and 8 deletions

View File

@ -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);