microsoft / PubSec-Info-Assistant

Information Assistant, built with Azure OpenAI Service, Industry Accelerator
MIT License
344 stars 778 forks source link

update to fix issue #7952 #851

Closed wotey closed 2 months ago

wotey commented 2 months ago

This pull request includes updates to the AnalysisPanel component in app/frontend/src/components/AnalysisPanel/AnalysisPanel.tsx to improve the handling of citations and source file fetching. The most important changes include re-adding a useEffect hook that sets the pivot tab and fetches the active citation object, as well as adding logic to fetch the source file blob if it is not already being fetched.

Improvements to citation handling and source file fetching: