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)}
174 | citationHeight="600px"
175 | answer={answer}
176 | activeTab={activeAnalysisPanelTab}
177 | />
178 | )}
179 |