aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-02-14 00:29:49 -0500
committerbobzel <zzzman@gmail.com>2025-02-14 00:29:49 -0500
commit4a9d8bf9e09a25faeba41c7ece46b86548d66847 (patch)
treed6fef55d66a3424a8be6e970a3de15b00786d52c /src/client/views/pdf
parentb7845adf2904e18e237638a0bf907c6ec0fe06ee (diff)
removed chooseDoc option from gpttypes because its redundant with Filter
Diffstat (limited to 'src/client/views/pdf')
-rw-r--r--src/client/views/pdf/GPTPopup/GPTPopup.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/pdf/GPTPopup/GPTPopup.tsx b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
index 281748155..0b1ee78e3 100644
--- a/src/client/views/pdf/GPTPopup/GPTPopup.tsx
+++ b/src/client/views/pdf/GPTPopup/GPTPopup.tsx
@@ -151,8 +151,7 @@ export class GPTPopup extends ObservableReactComponent<object> {
(() => {
switch (this.questionTypeNumberToStyle(questionType)) {
case GPTTypeStyle.AssignTags:
- case GPTTypeStyle.Filter:
- case GPTTypeStyle.ChooseDoc: return gptAPICall(this._documentDescriptions, GPTCallType.SUBSET, userPrompt);
+ case GPTTypeStyle.Filter: return gptAPICall(this._documentDescriptions, GPTCallType.SUBSET, userPrompt);
case GPTTypeStyle.SortDocs: return gptAPICall(this._documentDescriptions, GPTCallType.SORT, userPrompt);
default: return gptAPICall(StrCast(DocumentView.SelectedDocs().lastElement()?.gptInputText), GPTCallType.INFO, userPrompt);
} // prettier-ignore