diff options
| author | Ty Dunn <ty@tydunn.com> | 2023-06-22 13:04:04 -0700 | 
|---|---|---|
| committer | Ty Dunn <ty@tydunn.com> | 2023-06-22 13:04:04 -0700 | 
| commit | af67d7d8309c88f7dced869a31359de66e9341c3 (patch) | |
| tree | 0f542a214dc362a0127895232d366d0d39edf6b1 /extension/react-app/src | |
| parent | a1a9c4fc01e7bb9239aa67717dd8397d32eea31a (diff) | |
| download | sncontinue-af67d7d8309c88f7dced869a31359de66e9341c3.tar.gz sncontinue-af67d7d8309c88f7dced869a31359de66e9341c3.tar.bz2 sncontinue-af67d7d8309c88f7dced869a31359de66e9341c3.zip  | |
adding default model
Diffstat (limited to 'extension/react-app/src')
| -rw-r--r-- | extension/react-app/src/tabs/gui.tsx | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/react-app/src/tabs/gui.tsx b/extension/react-app/src/tabs/gui.tsx index 0dd7e3ec..16c950ef 100644 --- a/extension/react-app/src/tabs/gui.tsx +++ b/extension/react-app/src/tabs/gui.tsx @@ -230,7 +230,7 @@ function GUI(props: GUIProps) {      console.log("CLIENT ON STATE UPDATE: ", client, client?.onStateUpdate);      client?.onStateUpdate((state) => {        // Scroll only if user is at very bottom of the window. -      setUsingFastModel(state.using_fast_model); +      setUsingFastModel(state.default_model === "gpt-3.5-turbo");        const shouldScrollToBottom =          topGuiDivRef.current &&          topGuiDivRef.current?.offsetHeight - window.scrollY < 100;  | 
