This pull request includes changes to the AnalysisPanel component, infrastructure outputs, and a script for setting environment variables. The most important changes include adding a loading state to the AnalysisPanel, updating Terraform outputs, and modifying the environment variable extraction script.
AnalysisPanel Component Enhancements:
app/frontend/src/components/AnalysisPanel/AnalysisPanel.tsx: Added a loading state to handle cases when the citation URL is not yet available. ([app/frontend/src/components/AnalysisPanel/AnalysisPanel.tsxL210-R212](diffhunk://#diff-1c152a9cc611df2db331cd06ae6145ca33249071c2e6c4cf1ae02cb0ea7b8970L210-R212))
Infrastructure Outputs:
infra/outputs.tf: Added a new output for AZURE_SEARCH_AUDIENCE to the Terraform configuration. ([infra/outputs.tfR222-R225](diffhunk://#diff-f99da7494a3eef65426a69531706ba9db03cb7923513eac03394f69d051410c7R222-R225))
Environment Variable Extraction Script:
scripts/json-to-env.webapp.debug.sh: Updated the script to include the AZURE_SEARCH_AUDIENCE environment variable. ([scripts/json-to-env.webapp.debug.shR158-R161](diffhunk://#diff-34474232627c64c829fc2064d7e0ef4c1009a576417a92ee7039481a6e3d7727R158-R161))
scripts/json-to-env.webapp.debug.sh: Added a new environment variable USE_SEMANTIC_RERANKER to the debug output. ([scripts/json-to-env.webapp.debug.shR198](diffhunk://#diff-34474232627c64c829fc2064d7e0ef4c1009a576417a92ee7039481a6e3d7727R198))
This pull request includes changes to the
AnalysisPanel
component, infrastructure outputs, and a script for setting environment variables. The most important changes include adding a loading state to theAnalysisPanel
, updating Terraform outputs, and modifying the environment variable extraction script.AnalysisPanel Component Enhancements:
app/frontend/src/components/AnalysisPanel/AnalysisPanel.tsx
: Added a loading state to handle cases when the citation URL is not yet available. ([app/frontend/src/components/AnalysisPanel/AnalysisPanel.tsxL210-R212](diffhunk://#diff-1c152a9cc611df2db331cd06ae6145ca33249071c2e6c4cf1ae02cb0ea7b8970L210-R212)
)Infrastructure Outputs:
infra/outputs.tf
: Added a new output forAZURE_SEARCH_AUDIENCE
to the Terraform configuration. ([infra/outputs.tfR222-R225](diffhunk://#diff-f99da7494a3eef65426a69531706ba9db03cb7923513eac03394f69d051410c7R222-R225)
)Environment Variable Extraction Script:
scripts/json-to-env.webapp.debug.sh
: Updated the script to include theAZURE_SEARCH_AUDIENCE
environment variable. ([scripts/json-to-env.webapp.debug.shR158-R161](diffhunk://#diff-34474232627c64c829fc2064d7e0ef4c1009a576417a92ee7039481a6e3d7727R158-R161)
)scripts/json-to-env.webapp.debug.sh
: Added a new environment variableUSE_SEMANTIC_RERANKER
to the debug output. ([scripts/json-to-env.webapp.debug.shR198](diffhunk://#diff-34474232627c64c829fc2064d7e0ef4c1009a576417a92ee7039481a6e3d7727R198)
)