diff options
Diffstat (limited to 'extension')
-rw-r--r-- | extension/package.json | 5 | ||||
-rw-r--r-- | extension/react-app/src/pages/gui.tsx | 8 |
2 files changed, 4 insertions, 9 deletions
diff --git a/extension/package.json b/extension/package.json index 41973a7b..4ab2f682 100644 --- a/extension/package.json +++ b/extension/package.json @@ -77,11 +77,6 @@ "title": "Quick Text Entry" }, { - "command": "continue.quickFix", - "category": "Continue", - "title": "Quick Fix with Continue" - }, - { "command": "continue.viewLogs", "category": "Continue", "title": "View Continue Server Logs" diff --git a/extension/react-app/src/pages/gui.tsx b/extension/react-app/src/pages/gui.tsx index 576abd40..96526d6d 100644 --- a/extension/react-app/src/pages/gui.tsx +++ b/extension/react-app/src/pages/gui.tsx @@ -129,8 +129,7 @@ function GUI(props: GUIProps) { // #region Selectors const history = useSelector((state: RootStore) => state.serverState.history); const defaultModel = useSelector( - (state: RootStore) => - (state.serverState.config as any).models?.default?.class_name + (state: RootStore) => (state.serverState.config as any).models?.default ); const user_input_queue = useSelector( (state: RootStore) => state.serverState.user_input_queue @@ -289,7 +288,8 @@ function GUI(props: GUIProps) { } if ( - defaultModel === "OpenAIFreeTrial" && + defaultModel.class_name === "OpenAIFreeTrial" && + defaultModel.api_key === "" && (!input.startsWith("/") || input.startsWith("/edit")) ) { const ftc = localStorage.getItem("ftc"); @@ -341,7 +341,7 @@ function GUI(props: GUIProps) { "mainTextEntryCounter", (currentCount + 1).toString() ); - if (currentCount === -300) { + if (currentCount === 300) { dispatch( setDialogMessage( <div className="text-center p-4"> |