MCPcopy
hub / github.com/gencay/vscode-chatgpt / addFreeTextQuestion

Function addFreeTextQuestion

media/main.js:157–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 });
156
157 const addFreeTextQuestion = () => {
158 const input = document.getElementById("question-input");
159 if (input.value?.length > 0) {
160 vscode.postMessage({
161 type: "addFreeTextQuestion",
162 value: input.value,
163 });
164
165 input.value = "";
166 }
167 };
168
169 const clearConversation = () => {
170 document.getElementById("qa-list").innerHTML = "";

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected