Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Install GitHub CLI
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
# Step 1: Checkout the code from your repository
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

# Step 2: Validate the Azure template using microsoft/template-validation-action
- name: Validate Azure Template
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/broken-links-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0

# For PR : Get only changed markdown files
- name: Get changed markdown files (PR only)
id: changed-markdown-files
if: github.event_name == 'pull_request'
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v46
with:
files: |
**/*.md
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Check Broken Links in Changed Markdown Files
id: lychee-check-pr
if: github.event_name == 'pull_request' && steps.changed-markdown-files.outputs.any_changed == 'true'
uses: lycheeverse/lychee-action@v2.4.1
uses: lycheeverse/lychee-action@v2.6.1
with:
args: >
--verbose --exclude-mail --no-progress --exclude ^https?://
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Check Broken Links in All Markdown Files in Entire Repo (Manual Trigger)
id: lychee-check-manual
if: github.event_name == 'workflow_dispatch'
uses: lycheeverse/lychee-action@v2.4.1
uses: lycheeverse/lychee-action@v2.6.1
with:
args: >
--verbose --exclude-mail --no-progress --exclude ^https?://
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ github.event.workflow_run.head_sha }}

- uses: codfish/semantic-release-action@v3
- uses: codfish/semantic-release-action@v4
id: semantic
with:
tag-format: 'v${version}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
WEBAPP_URL: ${{ steps.get_output.outputs.WEBAPP_URL }}
steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup Azure CLI
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-title-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'merge_group' }}
steps:
- uses: amannn/action-semantic-pull-request@v5
- uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
steps:
# Step 1: Checkout code
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

# Step 2: Set up Python environment
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install dependencies
Expand All @@ -35,9 +35,9 @@ jobs:
runs-on:
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stale-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Mark Stale Issues and PRs
uses: actions/stale@v9
uses: actions/stale@v10
with:
stale-issue-message: "This issue is stale because it has been open 180 days with no activity. Remove stale label or comment, or it will be closed in 30 days."
stale-pr-message: "This PR is stale because it has been open 180 days with no activity. Please update or it will be closed in 30 days."
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0 # Fetch full history for accurate branch checks
- name: Fetch All Branches
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/telemetry-template-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Check for required metadata template line
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.13'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
runs-on: ubuntu-latest # Use the latest Ubuntu runner

steps:
- uses: actions/checkout@v4 # Checkout the repository
- uses: actions/checkout@v5 # Checkout the repository

# Set up Python environment for Backend
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11" # Set Python version

Expand Down Expand Up @@ -62,11 +62,11 @@ jobs:
runs-on: ubuntu-latest # Use the latest Ubuntu runner

steps:
- uses: actions/checkout@v4 # Checkout the repository
- uses: actions/checkout@v5 # Checkout the repository

# Set up Node.js environment for Frontend
- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: '20' # Set the Node.js version

Expand Down
2 changes: 1 addition & 1 deletion src/backend/api/agent/browse_agent_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def create_or_get_agent(cls):
project_index = await project_client.indexes.create_or_update(
name=index_name,
version=index_version,
body={
index={
"connectionName": app_settings.datasource.connection_name,
"indexName": app_settings.datasource.index,
"type": "AzureSearch",
Expand Down
2 changes: 1 addition & 1 deletion src/backend/api/agent/section_agent_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def create_or_get_agent(cls):
project_index = await project_client.indexes.create_or_update(
name=index_name,
version=index_version,
body={
index={
"connectionName": app_settings.datasource.connection_name,
"indexName": app_settings.datasource.index,
"type": "AzureSearch",
Expand Down
2 changes: 1 addition & 1 deletion src/backend/api/agent/template_agent_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async def create_or_get_agent(cls):
project_index = await project_client.indexes.create_or_update(
name=index_name,
version=index_version,
body={
index={
"connectionName": app_settings.datasource.connection_name,
"indexName": app_settings.datasource.index,
"type": "AzureSearch",
Expand Down
5 changes: 5 additions & 0 deletions src/frontend/src/helpers/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ export const parseCitationFromMessage = (message: ChatMessage) => {

export const cleanJSON = (jsonString: string) => {
try {
// Check if the string contains JSON-like patterns before processing
if (!jsonString.includes('{') || !jsonString.includes('}')) {
return ''
}

let lines: string[]
let cleanString = ''
lines = jsonString.split('\n')
Expand Down
16 changes: 8 additions & 8 deletions src/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
-r requirements.txt
azure-ai-documentintelligence==1.0.2
Markdown==3.8.2
requests==2.32.4
Markdown==3.9
requests==2.32.5
tqdm==4.67.1
tiktoken
langchain==0.3.26
langchain==0.3.27
bs4==0.0.2
urllib3==2.5.0
pytest==8.4.1
pytest-asyncio==1.0.0
PyMuPDF==1.26.1
pytest==8.4.2
pytest-asyncio==1.2.0
PyMuPDF==1.26.4
azure-storage-blob
chardet
azure-keyvault-secrets
coverage
flake8==7.3.0
black==25.1.0
black==25.9.0
autoflake==2.3.1
isort==6.0.1
isort==6.1.0
28 changes: 14 additions & 14 deletions src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
azure-identity==1.23.0
azure-identity==1.25.0
# Flask[async]==2.3.2
openai==1.93.0
azure-search-documents==11.6.0b12
azure-storage-blob==12.25.1
openai==2.0.1
azure-search-documents==11.7.0b1
azure-storage-blob==12.26.0
python-dotenv==1.1.1
azure-cosmos==4.9.0
azure-ai-projects==1.0.0b11
azure-ai-projects==1.0.0
azure-ai-inference==1.0.0b9
quart==0.20.0
uvicorn==0.35.0
aiohttp==3.12.13
uvicorn==0.37.0
aiohttp==3.12.15
gunicorn==23.0.0
pydantic==2.11.10
pydantic-settings==2.10.1
flake8==7.3.0
black==25.1.0
black==25.9.0
autoflake==2.3.1
isort==6.0.1
isort==6.1.0
opentelemetry-exporter-otlp-proto-grpc
opentelemetry-exporter-otlp-proto-http
opentelemetry-exporter-otlp-proto-grpc
azure-monitor-events-extension
opentelemetry-sdk==1.31.1
opentelemetry-api==1.31.1
opentelemetry-semantic-conventions==0.52b1
opentelemetry-instrumentation==0.52b1
azure-monitor-opentelemetry==1.6.8
opentelemetry-sdk==1.37.0
opentelemetry-api==1.37.0
opentelemetry-semantic-conventions==0.58b0
opentelemetry-instrumentation==0.58b0
azure-monitor-opentelemetry==1.8.1
Loading