From 08b40f21d9295f36277827ac33085f82c9ee1646 Mon Sep 17 00:00:00 2001
From: sharkiecodes <lanyi_stroud@brown.edu>
Date: Fri, 6 Jun 2025 11:07:59 -0400
Subject: clean-up

---
 .../views/nodes/formattedText/FormattedTextBox.tsx | 23 ----------------------
 1 file changed, 23 deletions(-)

(limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')

diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
index 04a14a15f..ad75d320a 100644
--- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx
+++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
@@ -329,29 +329,6 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FormattedTextB
             this.Document._layout_showTags = true;
         });
     });
-        /*this.Document.$tags_chat = new List<string>();
-        gptAPICall(RTFCast(this.Document[Doc.LayoutDataKey(this.Document)])?.Text ?? StrCast(this.Document[Doc.LayoutDataKey(this.Document)]), GPTCallType.CLASSIFYTEXTMINIMAL).then(desc => (this.Document.$tags_chat as List<string>).push(desc));
-        this.Document._layout_showTags = true;*/
-
-
-    // 2) grab whatever’s actually in the field (either RTF or plain string)
-/*
-    const rawText = RTFCast(this.Document[Doc.LayoutDataKey(this.Document)])?.Text ?? StrCast(this.Document[Doc.LayoutDataKey(this.Document)])
-
-    // 3) pick minimal vs. full classification based on "[placeholder]" substring
-    if (rawText.includes("[placeholder]")) {
-        this.Document.$tags_chat = new List<string>();
-        gptAPICall(RTFCast(this.Document[Doc.LayoutDataKey(this.Document)])?.Text ?? StrCast(this.Document[Doc.LayoutDataKey(this.Document)]), GPTCallType.CLASSIFYTEXTMINIMAL).then(desc => {
-            (this.Document.$tags_chat as List<string>).push(desc);
-        });
-    } else {
-        this.Document.$tags_chat = new List<string>();
-        gptAPICall(RTFCast(this.Document[Doc.LayoutDataKey(this.Document)])?.Text ?? StrCast(this.Document[Doc.LayoutDataKey(this.Document)]), GPTCallType.CLASSIFYTEXTFULL).then(desc => {
-            (this.Document.$tags_chat as List<string>).push(desc);
-        })};
-    // 4) make sure the UI will show tags
-    this.Document._layout_showTags = true;*/
-    
 };
 
     leafText = (node: Node) => {
-- 
cgit v1.2.3-70-g09d2

