节点新增字段和提示词弹窗

This commit is contained in:
2026-06-04 15:04:01 +08:00
parent 937d1e9373
commit 05a0e35891
4 changed files with 705 additions and 32 deletions

View File

@@ -23,6 +23,7 @@ export interface PromptListParams {
pageNum?: number;
pageSize?: number;
keyword?: string;
nodeType?: string;
}
export interface CreatePromptParams {
@@ -65,6 +66,17 @@ export function getNodeLibraryList() {
});
}
/**
* 获取提示词列表(根据节点类型)
*/
export function getPromptList(params: PromptListParams) {
return request<PromptListResponse>({
url: '/ai-agent/node/prompt/list',
method: 'get',
params,
});
}
/**
* 获取当前用户提示词列表
*/