summaryrefslogtreecommitdiff
path: root/extension/react-app
diff options
context:
space:
mode:
authorTy Dunn <ty@tydunn.com>2023-06-21 15:28:37 -0700
committerTy Dunn <ty@tydunn.com>2023-06-21 15:28:37 -0700
commit0eceef43ae9d0e0e195a9dbbe1e038b4e02ea61b (patch)
treea0cc6a362a16712ae6133d6147a4f2939a438754 /extension/react-app
parent2dd87605a05236c1dd10389883766f4c51207d56 (diff)
downloadsncontinue-0eceef43ae9d0e0e195a9dbbe1e038b4e02ea61b.tar.gz
sncontinue-0eceef43ae9d0e0e195a9dbbe1e038b4e02ea61b.tar.bz2
sncontinue-0eceef43ae9d0e0e195a9dbbe1e038b4e02ea61b.zip
Revert "initial ideas"
This reverts commit 2dd87605a05236c1dd10389883766f4c51207d56.
Diffstat (limited to 'extension/react-app')
-rw-r--r--extension/react-app/src/hooks/useContinueGUIProtocol.ts4
-rw-r--r--extension/react-app/src/tabs/gui.tsx4
2 files changed, 2 insertions, 6 deletions
diff --git a/extension/react-app/src/hooks/useContinueGUIProtocol.ts b/extension/react-app/src/hooks/useContinueGUIProtocol.ts
index 4eb68046..59397742 100644
--- a/extension/react-app/src/hooks/useContinueGUIProtocol.ts
+++ b/extension/react-app/src/hooks/useContinueGUIProtocol.ts
@@ -55,10 +55,6 @@ class ContinueGUIClientProtocol extends AbstractContinueGUIClientProtocol {
});
}
- changeDefaultModel() {
- this.messenger.send("change_default_model", {});
- }
-
sendClear() {
this.messenger.send("clear_history", {});
}
diff --git a/extension/react-app/src/tabs/gui.tsx b/extension/react-app/src/tabs/gui.tsx
index 15260e0c..f0e3ffd4 100644
--- a/extension/react-app/src/tabs/gui.tsx
+++ b/extension/react-app/src/tabs/gui.tsx
@@ -470,7 +470,7 @@ function GUI(props: GUIProps) {
Contribute Data
</span>
</div>
- { <HeaderButtonWithText
+ {/* <HeaderButtonWithText
onClick={() => {
setUsingFastModel((prev) => !prev);
}}
@@ -481,7 +481,7 @@ function GUI(props: GUIProps) {
>
{usingFastModel ? "⚡" : "🧠"}
</div>
- </HeaderButtonWithText>}
+ </HeaderButtonWithText> */}
<HeaderButtonWithText
onClick={() => {
client?.sendClear();