mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-25 15:04:46 +08:00
feat: add notification
This commit is contained in:
@@ -23,3 +23,13 @@ export async function enableSkill(skillName: string, enabled: boolean) {
|
||||
);
|
||||
return response.json();
|
||||
}
|
||||
|
||||
export async function installSkill(skillName: string) {
|
||||
const response = await fetch(
|
||||
`${getBackendBaseURL()}/api/skills/${skillName}/install`,
|
||||
{
|
||||
method: "POST",
|
||||
},
|
||||
);
|
||||
return response.json();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user