Elffuss BraidHub

kikocis/continue public

Merge pull request #6481 from rkhanwani10/rkhanwani10/default-agent-mode

Change default to agent mode
Changeset51e47455f9bee82e1d168fe23a4897ec16604a5bbdf6f280c3a68b8089656fa9
AuthorDallin Romney <dallinromney@gmail.com> · 2025-07-08 13:20 -07:00
CommitterGitHub <noreply@github.com> · 2025-07-08 13:20 -07:00
Parentsc7e22ae5359c, 14b1fb4917c3

Browse the files at this changeset

2 files changed

modified gui/src/pages/gui/chat-tests/Chat.test.tsx +6 −6
@@ -15,7 +15,7 @@
1515
1616 test("should be able to toggle modes", async () => {
1717 await renderWithProviders(<Chat />);
18- await getElementByText("Chat");
18+ await getElementByText("Agent");
1919
2020 // Simulate cmd+. keyboard shortcut to toggle modes
2121 act(() => {
@@ -27,8 +27,8 @@
2727 );
2828 });
2929
30- // Check that it switched to Plan mode
31- await getElementByText("Plan");
30+ // Check that it switched to Chat mode
31+ await getElementByText("Chat");
3232
3333 act(() => {
3434 document.dispatchEvent(
@@ -39,8 +39,8 @@
3939 );
4040 });
4141
42- // Check that it switched to Agent mode
43- await getElementByText("Agent");
42+ // Check that it switched to Plan mode
43+ await getElementByText("Plan");
4444
4545 act(() => {
4646 document.dispatchEvent(
@@ -51,7 +51,7 @@
5151 );
5252 });
5353
54- await getElementByText("Chat");
54+ await getElementByText("Agent");
5555 });
5656
5757 test("should send a message and receive a response", async () => {
modified gui/src/redux/slices/sessionSlice.ts +1 −1
@@ -74,7 +74,7 @@
7474 id: uuidv4(),
7575 streamAborter: new AbortController(),
7676 symbols: {},
77- mode: "chat",
77+ mode: "agent",
7878 isInEdit: false,
7979 codeBlockApplyStates: {
8080 states: [],