chore: nothing special, subagent enhanced

This commit is contained in:
qixinbo
2026-03-28 08:58:02 +08:00
parent bdf67e9132
commit 00e5587e75
11 changed files with 517 additions and 22 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ export const subagentApi = {
return response.data;
},
get: async (projectId: string, id: string) => {
const response = await axiosInstance.get<Subagent>(`${API_BASE_URL}/${projectId}/subagents/${id}`);
get: async (_projectId: string, id: string) => {
const response = await axiosInstance.get<Subagent>(`/api/v1/subagents/${id}`);
return response.data;
},
@@ -648,6 +648,7 @@ export function ChatInterface() {
body: JSON.stringify({
message: messagePayload,
session_id: targetSessionKey,
project_id: currentProject?.id,
model_id: effectiveModelId,
skill_ids: selectedSkillIds,
source,
+9 -9
View File
@@ -252,15 +252,15 @@
"noMcpServers": "暂无 MCP 服务器",
"confirmDeleteMcpServer": "确定要删除这个 MCP 服务器吗?",
"saveMcpServer": "保存 MCP 服务器",
"subagents": "子代理",
"subagentManagement": "子代理管理",
"manageSubagentsDesc": "管理该项目的子代理",
"addSubagent": "添加子代理",
"editSubagent": "编辑子代理",
"subagentName": "子代理名称",
"subagents": "子智能体",
"subagentManagement": "子智能体管理",
"manageSubagentsDesc": "管理该项目的子智能体",
"addSubagent": "添加子智能体",
"editSubagent": "编辑子智能体",
"subagentName": "子智能体名称",
"selectModel": "请选择一个模型",
"systemInstructionsPlaceholder": "你是一个有用的 AI 助手...",
"noSubagents": "暂无配置的子代理",
"confirmDeleteSubagent": "确定要删除这个子代理吗?",
"selectProjectToManageSubagents": "请先选择一个项目以管理其子代理"
"noSubagents": "暂无配置的子智能体",
"confirmDeleteSubagent": "确定要删除这个子智能体吗?",
"selectProjectToManageSubagents": "请先选择一个项目以管理其子智能体"
}