Changesets · Branches · Tags · Compare
| Changeset | 51e47455f9bee82e1d168fe23a4897ec16604a5bbdf6f280c3a68b8089656fa9 |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-07-08 13:20 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-07-08 13:20 -07:00 |
| Parents | c7e22ae5359c, 14b1fb4917c3 |
2 files changed
modified gui/src/pages/gui/chat-tests/Chat.test.tsx +6 −6
| @@ -15,7 +15,7 @@ | ||
| 15 | 15 | |
| 16 | 16 | test("should be able to toggle modes", async () => { |
| 17 | 17 | await renderWithProviders(<Chat />); |
| 18 | - await getElementByText("Chat"); | |
| 18 | + await getElementByText("Agent"); | |
| 19 | 19 | |
| 20 | 20 | // Simulate cmd+. keyboard shortcut to toggle modes |
| 21 | 21 | act(() => { |
| @@ -27,8 +27,8 @@ | ||
| 27 | 27 | ); |
| 28 | 28 | }); |
| 29 | 29 | |
| 30 | - // Check that it switched to Plan mode | |
| 31 | - await getElementByText("Plan"); | |
| 30 | + // Check that it switched to Chat mode | |
| 31 | + await getElementByText("Chat"); | |
| 32 | 32 | |
| 33 | 33 | act(() => { |
| 34 | 34 | document.dispatchEvent( |
| @@ -39,8 +39,8 @@ | ||
| 39 | 39 | ); |
| 40 | 40 | }); |
| 41 | 41 | |
| 42 | - // Check that it switched to Agent mode | |
| 43 | - await getElementByText("Agent"); | |
| 42 | + // Check that it switched to Plan mode | |
| 43 | + await getElementByText("Plan"); | |
| 44 | 44 | |
| 45 | 45 | act(() => { |
| 46 | 46 | document.dispatchEvent( |
| @@ -51,7 +51,7 @@ | ||
| 51 | 51 | ); |
| 52 | 52 | }); |
| 53 | 53 | |
| 54 | - await getElementByText("Chat"); | |
| 54 | + await getElementByText("Agent"); | |
| 55 | 55 | }); |
| 56 | 56 | |
| 57 | 57 | test("should send a message and receive a response", async () => { |
modified gui/src/redux/slices/sessionSlice.ts +1 −1
| @@ -74,7 +74,7 @@ | ||
| 74 | 74 | id: uuidv4(), |
| 75 | 75 | streamAborter: new AbortController(), |
| 76 | 76 | symbols: {}, |
| 77 | - mode: "chat", | |
| 77 | + mode: "agent", | |
| 78 | 78 | isInEdit: false, |
| 79 | 79 | codeBlockApplyStates: { |
| 80 | 80 | states: [], |