From 771d235c08b981c08eb37afd503603ae69c2a832 Mon Sep 17 00:00:00 2001 From: Beyang Liu Date: Sat, 18 Jan 2025 17:43:55 +0900 Subject: [PATCH] ensure non-deep-cody is used when deep-cody is not set --- .../chat/cells/messageCell/human/editor/toolbar/Toolbar2.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vscode/webviews/chat/cells/messageCell/human/editor/toolbar/Toolbar2.tsx b/vscode/webviews/chat/cells/messageCell/human/editor/toolbar/Toolbar2.tsx index 92e34a6c1503..7ccc7b6a3715 100644 --- a/vscode/webviews/chat/cells/messageCell/human/editor/toolbar/Toolbar2.tsx +++ b/vscode/webviews/chat/cells/messageCell/human/editor/toolbar/Toolbar2.tsx @@ -153,6 +153,10 @@ const ModelSelectFieldToolbarItem: FunctionComponent<{ api.setChatModel(model.id).subscribe({ error: error => console.error('setChatModel:', error), }) + // KLUDGE(beyang) + api.setAgent('model').subscribe({ + error: error => console.error('setAgent:', error), + }) } else { api.setAgent(agent.id).subscribe({ error: error => console.error('setAgent:', error),