mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-04 06:30:53 +00:00
Merge branch 'main' into feature/arena-agent-collaboration
This commit is contained in:
commit
a119adb6bd
82 changed files with 3186 additions and 1576 deletions
|
|
@ -227,6 +227,7 @@ describe('AppContainer State Management', () => {
|
|||
pendingHistoryItems: [],
|
||||
thought: null,
|
||||
cancelOngoingRequest: vi.fn(),
|
||||
retryLastPrompt: vi.fn(),
|
||||
});
|
||||
mockedUseVim.mockReturnValue({ handleInput: vi.fn() });
|
||||
mockedUseFolderTrust.mockReturnValue({
|
||||
|
|
@ -625,6 +626,7 @@ describe('AppContainer State Management', () => {
|
|||
pendingHistoryItems: [],
|
||||
thought: { subject: thoughtSubject },
|
||||
cancelOngoingRequest: vi.fn(),
|
||||
retryLastPrompt: vi.fn(),
|
||||
});
|
||||
|
||||
// Act: Render the container
|
||||
|
|
@ -670,6 +672,7 @@ describe('AppContainer State Management', () => {
|
|||
pendingHistoryItems: [],
|
||||
thought: null,
|
||||
cancelOngoingRequest: vi.fn(),
|
||||
retryLastPrompt: vi.fn(),
|
||||
});
|
||||
|
||||
// Act: Render the container
|
||||
|
|
@ -716,6 +719,7 @@ describe('AppContainer State Management', () => {
|
|||
pendingHistoryItems: [],
|
||||
thought: { subject: thoughtSubject },
|
||||
cancelOngoingRequest: vi.fn(),
|
||||
retryLastPrompt: vi.fn(),
|
||||
});
|
||||
|
||||
// Act: Render the container
|
||||
|
|
@ -762,6 +766,7 @@ describe('AppContainer State Management', () => {
|
|||
pendingHistoryItems: [],
|
||||
thought: { subject: shortTitle },
|
||||
cancelOngoingRequest: vi.fn(),
|
||||
retryLastPrompt: vi.fn(),
|
||||
});
|
||||
|
||||
// Act: Render the container
|
||||
|
|
@ -812,6 +817,7 @@ describe('AppContainer State Management', () => {
|
|||
pendingHistoryItems: [],
|
||||
thought: { subject: title },
|
||||
cancelOngoingRequest: vi.fn(),
|
||||
retryLastPrompt: vi.fn(),
|
||||
});
|
||||
|
||||
// Act: Render the container
|
||||
|
|
@ -859,6 +865,7 @@ describe('AppContainer State Management', () => {
|
|||
pendingHistoryItems: [],
|
||||
thought: null,
|
||||
cancelOngoingRequest: vi.fn(),
|
||||
retryLastPrompt: vi.fn(),
|
||||
});
|
||||
|
||||
// Act: Render the container
|
||||
|
|
@ -900,6 +907,7 @@ describe('AppContainer State Management', () => {
|
|||
pendingHistoryItems: [],
|
||||
thought: null,
|
||||
cancelOngoingRequest: vi.fn(),
|
||||
retryLastPrompt: vi.fn(),
|
||||
activePtyId: 'some-id',
|
||||
});
|
||||
|
||||
|
|
@ -1031,6 +1039,7 @@ describe('AppContainer State Management', () => {
|
|||
pendingHistoryItems: [],
|
||||
thought: null,
|
||||
cancelOngoingRequest: mockCancelOngoingRequest,
|
||||
retryLastPrompt: vi.fn(),
|
||||
});
|
||||
|
||||
const mockHandleSlashCommand = vi.fn();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue