We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c3d763 commit d361212Copy full SHA for d361212
tools/server/public/index.html.gz
11 Bytes
tools/server/webui/src/utils/llama-vscode.ts
@@ -33,7 +33,9 @@ export const useVSCodeContext = (textarea: ChatTextareaApi) => {
33
});
34
}
35
textarea.focus();
36
- textarea.refOnSubmit.current?.();
+ setTimeout(() => {
37
+ textarea.refOnSubmit.current?.();
38
+ }, 10); // wait for setExtraContext to finish
39
40
};
41
0 commit comments