Skip to content

Commit 746fbe8

Browse files
feat: application
1 parent 3f6faa7 commit 746fbe8

File tree

16 files changed

+337
-663
lines changed

16 files changed

+337
-663
lines changed

ui/src/api/application/application.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,16 @@ const speechToText: (
286286
return post(`${prefix.value}/${application_id}/speech_to_text`, data, undefined, loading)
287287
}
288288

289+
/**
290+
* mcp 节点
291+
*/
292+
const getMcpTools: (application_id: String, loading?: Ref<boolean>) => Promise<Result<any>> = (
293+
application_id,
294+
loading,
295+
) => {
296+
return get(`${prefix.value}/${application_id}/mcp_tools`, undefined, loading)
297+
}
298+
289299
export default {
290300
getAllApplication,
291301
getApplication,
@@ -310,4 +320,5 @@ export default {
310320
playDemoText,
311321
textToSpeech,
312322
speechToText,
323+
getMcpTools,
313324
}

ui/src/components/generate-related-resource-dialog/index.vue

Lines changed: 0 additions & 204 deletions
This file was deleted.

0 commit comments

Comments
 (0)