summaryrefslogtreecommitdiff
path: root/extension/react-app/src/hooks
diff options
context:
space:
mode:
authorTy Dunn <ty@tydunn.com>2023-06-21 15:25:49 -0700
committerTy Dunn <ty@tydunn.com>2023-06-21 15:25:49 -0700
commit6c08e6d5befb0729b5020e93a60fbbe381347b7d (patch)
tree4ceed6c622aa4fc3bff2c1105af63bfeb72cfa53 /extension/react-app/src/hooks
parent3df2e8112564b9d3c29931b1f4ecc6ee0a52dac5 (diff)
downloadsncontinue-6c08e6d5befb0729b5020e93a60fbbe381347b7d.tar.gz
sncontinue-6c08e6d5befb0729b5020e93a60fbbe381347b7d.tar.bz2
sncontinue-6c08e6d5befb0729b5020e93a60fbbe381347b7d.zip
initial ideas
Diffstat (limited to 'extension/react-app/src/hooks')
-rw-r--r--extension/react-app/src/hooks/useContinueGUIProtocol.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/react-app/src/hooks/useContinueGUIProtocol.ts b/extension/react-app/src/hooks/useContinueGUIProtocol.ts
index 59397742..4eb68046 100644
--- a/extension/react-app/src/hooks/useContinueGUIProtocol.ts
+++ b/extension/react-app/src/hooks/useContinueGUIProtocol.ts
@@ -55,6 +55,10 @@ class ContinueGUIClientProtocol extends AbstractContinueGUIClientProtocol {
});
}
+ changeDefaultModel() {
+ this.messenger.send("change_default_model", {});
+ }
+
sendClear() {
this.messenger.send("clear_history", {});
}