diff --git a/continuedev/src/continuedev/libs/llm/hf_inference_api.py b/continuedev/src/continuedev/libs/llm/hf_inference_api.py index 9664fec2d..8945250cd 100644 --- a/continuedev/src/continuedev/libs/llm/hf_inference_api.py +++ b/continuedev/src/continuedev/libs/llm/hf_inference_api.py @@ -52,7 +52,7 @@ class HuggingFaceInferenceAPI(LLM): response = requests.post(API_URL, headers=headers, json={ "inputs": prompt, "parameters": { - "max_new_tokens": self.max_context_length - self.count_tokens(prompt), + "max_new_tokens": min(250, self.max_context_length - self.count_tokens(prompt)), "max_time": DEFAULT_MAX_TIME, "return_full_text": False, } diff --git a/extension/react-app/src/pages/gui.tsx b/extension/react-app/src/pages/gui.tsx index ff113636b..4c89bbaae 100644 --- a/extension/react-app/src/pages/gui.tsx +++ b/extension/react-app/src/pages/gui.tsx @@ -351,21 +351,57 @@ function GUI(props: GUIProps) { > Continue Server Starting
-{ - postVscMessage("toggleDevTools", {}); - }} - > - Click to view logs -
++ + + Troubleshooting help + + +
+{ + postVscMessage("toggleDevTools", {}); + }} + > + View logs +
+{ + postVscMessage("reloadWindow", {}); + }} + > + Reload the window +
+