Polish Agent configuration and unify advanced settings

This commit is contained in:
鲨鱼辣椒 committed 2026-10-12 18:40:33 +08:00
1 parent a7182ac8fe
commit 1166931a26
13 files changed
+422 -102

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ it('keeps one child creation intent after a lost response and waits for Skill in
await waitFor(() => expect(screen.queryByLabelText('子智能体名称')).not.toBeInTheDocument());
const calls = api.call.mock.calls.filter(call => call[0] === 'createChild');
expect(calls).toHaveLength(2); expect(calls[0][1]).toEqual(calls[1][1]);
fireEvent.click(screen.getByRole('button', { name: '上传 Skill' }));
fireEvent.click(screen.getByRole('button', { name: '上传做事手册' }));
const confirm = await screen.findByRole('button', { name: '确认安装到个人能力' });
expect(api.call.mock.calls.some(call => call[0] === 'confirmSkill')).toBe(false);
fireEvent.click(confirm);