152 | {isLoading &&
}
153 | {!lastQuestionRef.current &&
}
154 | {!isLoading && answer && !error && (
155 |
156 |
onShowCitation(x)}
159 | onThoughtProcessClicked={() => onToggleTab(AnalysisPanelTabs.ThoughtProcessTab)}
160 | onSupportingContentClicked={() => onToggleTab(AnalysisPanelTabs.SupportingContentTab)}
161 | />
162 |
163 | )}
164 | {error ? (
165 |
166 |
makeApiRequest(lastQuestionRef.current)} />
167 |
168 | ) : null}
169 | {activeAnalysisPanelTab && answer && (
170 |
onToggleTab(x)}
175 | citationHeight="600px"
176 | answer={answer}
177 | activeTab={activeAnalysisPanelTab}
178 | />
179 | )}
180 |