mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-23 00:16:48 +00: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