Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
58375ba
Bump pypdf from 6.0.0 to 6.6.0 in /backend-agent
dependabot[bot] Jan 9, 2026
b232e43
Bump filelock from 3.19.1 to 3.20.3 in /backend-agent
dependabot[bot] Jan 13, 2026
f57f362
Bump azure-core from 1.35.0 to 1.38.0 in /backend-agent
dependabot[bot] Jan 13, 2026
96596c9
Bump pyasn1 from 0.6.1 to 0.6.2 in /backend-agent
dependabot[bot] Jan 16, 2026
3ff2d63
Merge pull request #185 from SAP/dependabot/uv/backend-agent/filelock…
marcorosa Jan 19, 2026
1ba8f19
Merge pull request #186 from SAP/dependabot/uv/backend-agent/azure-co…
marcorosa Jan 19, 2026
88a8195
Merge pull request #187 from SAP/dependabot/uv/backend-agent/pyasn1-0…
marcorosa Jan 19, 2026
4cda882
Merge pull request #182 from SAP/dependabot/uv/backend-agent/pypdf-6.6.0
marcorosa Jan 19, 2026
d6371b5
Bump unstructured from 0.18.21 to 0.18.27 in /backend-agent
dependabot[bot] Jan 19, 2026
24aa9b1
Merge pull request #183 from SAP/dependabot/uv/backend-agent/develop/…
marcorosa Jan 19, 2026
221e9ab
Bump weasyprint from 67.0 to 68.0 in /backend-agent
dependabot[bot] Jan 20, 2026
215975e
Bump lodash from 4.17.21 to 4.17.23 in /frontend
dependabot[bot] Jan 23, 2026
0eba1ba
Bump weasyprint from 67.0 to 68.0 in /backend-agent
dependabot[bot] Jan 25, 2026
8975380
Merge pull request #192 from SAP/dependabot/uv/backend-agent/develop/…
marcorosa Jan 26, 2026
46a838e
Merge pull request #191 from SAP/dependabot/npm_and_yarn/frontend/lod…
marcorosa Jan 26, 2026
ced4a74
Update models availability
marcorosa Jan 26, 2026
f364f8f
Bump pypdf from 6.0.0 to 6.6.2 in /backend-agent
dependabot[bot] Jan 26, 2026
00645ac
Bump python-multipart from 0.0.20 to 0.0.22 in /backend-agent
dependabot[bot] Jan 26, 2026
4e43c09
Bump sentence-transformers from 5.2.0 to 5.2.2 in /backend-agent
dependabot[bot] Feb 1, 2026
d608f24
Bump unstructured from 0.18.27 to 0.18.31 in /backend-agent
dependabot[bot] Feb 1, 2026
c80fc80
Bump protobuf from 5.29.5 to 5.29.6 in /backend-agent
dependabot[bot] Feb 5, 2026
cd7e399
Merge pull request #197 from SAP/dependabot/uv/backend-agent/develop/…
marcorosa Feb 9, 2026
0c89900
Merge pull request #196 from SAP/dependabot/uv/backend-agent/develop/…
marcorosa Feb 9, 2026
524424e
Merge pull request #199 from SAP/dependabot/uv/backend-agent/protobuf…
marcorosa Feb 9, 2026
300f354
Merge pull request #194 from SAP/dependabot/uv/backend-agent/python-m…
marcorosa Feb 9, 2026
fd77ac4
Merge branch 'develop' into dependabot/uv/backend-agent/pypdf-6.6.2
marcorosa Feb 9, 2026
fe05466
Merge pull request #193 from SAP/dependabot/uv/backend-agent/pypdf-6.6.2
marcorosa Feb 9, 2026
a3992d1
Merge branch 'develop' into dependabot/uv/backend-agent/weasyprint-68.0
marcorosa Feb 9, 2026
72ca0c2
Merge pull request #189 from SAP/dependabot/uv/backend-agent/weasypri…
marcorosa Feb 9, 2026
baea618
Fix npm dependencies and bump versions
marcorosa Feb 9, 2026
6ac288e
Bump langsmith from 0.4.23 to 0.6.3 in /backend-agent
dependabot[bot] Feb 9, 2026
684c9a5
Merge pull request #201 from SAP/dependabot/uv/backend-agent/langsmit…
marcorosa Feb 10, 2026
b892eb7
Deprecate gemini-2.0 models
marcorosa Feb 10, 2026
09304a1
[Changelog CI] Add Changelog for Version v0.6.6
github-actions[bot] Feb 10, 2026
d8ba9a1
Make safe calls when searching for model
marcorosa Feb 10, 2026
5827284
fix: resolve Angular dependency and TypeScript version conflicts
snmcntrk Mar 5, 2026
bc1ebe6
Merge pull request #221 from snmcntrk/develop
marcorosa Mar 6, 2026
667a424
Bump docker/setup-buildx-action from 3 to 4
dependabot[bot] Mar 8, 2026
6763f12
Bump docker/login-action from 3 to 4
dependabot[bot] Mar 8, 2026
e6b5628
Bump docker/build-push-action from 6 to 7
dependabot[bot] Mar 8, 2026
b455a73
Update models availability based on latest note
marcorosa Mar 9, 2026
1deda23
Bump deepdiff from 8.6.1 to 8.6.2 in /backend-agent
dependabot[bot] Mar 18, 2026
5144690
Bump tinytag from 2.1.2 to 2.2.1 in /backend-agent
dependabot[bot] Mar 19, 2026
cbca79b
Bump azure/setup-kubectl from 4 to 5
dependabot[bot] Mar 29, 2026
3c9c1c5
Bump pygments from 2.19.2 to 2.20.0 in /backend-agent
dependabot[bot] Mar 30, 2026
79b5d68
Bump gdown from 5.2.0 to 5.2.2 in /backend-agent
dependabot[bot] Apr 14, 2026
2eeebb5
Bump langsmith from 0.4.23 to 0.7.31 in /backend-agent
dependabot[bot] Apr 16, 2026
a3f53fb
Bump pypdf from 6.0.0 to 6.10.2 in /backend-agent
dependabot[bot] Apr 16, 2026
1eaa9be
Bump nltk from 3.9.1 to 3.9.4 in /backend-agent
dependabot[bot] Apr 18, 2026
6d6e4ec
Bump python-dotenv from 1.2.1 to 1.2.2 in /backend-agent
dependabot[bot] Apr 21, 2026
cec6b82
Bump lxml from 6.0.1 to 6.1.0 in /backend-agent
dependabot[bot] Apr 21, 2026
6cf71ea
Bump python-multipart from 0.0.20 to 0.0.27 in /backend-agent
dependabot[bot] May 8, 2026
6c3df1b
Fix actions configurations and update them
marcorosa May 25, 2026
808fa10
Merge pull request #247 from SAP/dependabot/github_actions/develop/az…
marcorosa May 25, 2026
7e629e4
Merge pull request #225 from SAP/dependabot/github_actions/develop/do…
marcorosa May 25, 2026
4430f05
Merge pull request #226 from SAP/dependabot/github_actions/develop/do…
marcorosa May 25, 2026
518e112
Merge pull request #275 from SAP/fix/cicd-actions
marcorosa May 25, 2026
a79c418
Merge branch 'develop' into dependabot/uv/backend-agent/python-multip…
marcorosa May 25, 2026
9c28cb0
Merge pull request #269 from SAP/dependabot/uv/backend-agent/python-m…
marcorosa May 25, 2026
9c1d261
Merge pull request #266 from SAP/dependabot/uv/backend-agent/lxml-6.1.0
marcorosa May 25, 2026
0f848df
Merge pull request #265 from SAP/dependabot/uv/backend-agent/python-d…
marcorosa May 25, 2026
89b2ee7
Merge pull request #263 from SAP/dependabot/uv/backend-agent/nltk-3.9.4
marcorosa May 25, 2026
a2042e2
Merge branch 'develop' into dependabot/uv/backend-agent/pypdf-6.10.2
marcorosa May 25, 2026
4d85f74
Merge pull request #262 from SAP/dependabot/uv/backend-agent/pypdf-6.…
marcorosa May 25, 2026
50dcb5c
Merge branch 'develop' into dependabot/uv/backend-agent/langsmith-0.7.31
marcorosa May 25, 2026
e52556b
Merge pull request #256 from SAP/dependabot/uv/backend-agent/gdown-5.2.2
marcorosa May 25, 2026
c857a0f
Merge pull request #248 from SAP/dependabot/uv/backend-agent/pygments…
marcorosa May 25, 2026
49bf494
Merge pull request #260 from SAP/dependabot/uv/backend-agent/langsmit…
marcorosa May 25, 2026
f94eb32
Merge pull request #240 from SAP/dependabot/uv/backend-agent/tinytag-…
marcorosa May 25, 2026
0d61aed
Merge pull request #238 from SAP/dependabot/uv/backend-agent/deepdiff…
marcorosa May 25, 2026
99eb58a
Merge pull request #224 from SAP/dependabot/github_actions/develop/do…
marcorosa May 25, 2026
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
16 changes: 8 additions & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,17 @@ jobs:
uses: actions/checkout@v6

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Log in to Docker Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ secrets.DOCKER_REGISTRY_URL }}
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}

- name: 🐳 Build and push Backend Docker image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ./backend-agent
file: ./backend-agent/Dockerfile
Expand Down Expand Up @@ -147,17 +147,17 @@ jobs:
ls -la dist/

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Log in to Docker Registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ secrets.DOCKER_REGISTRY_URL }}
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}

- name: 🐳 Build and push Frontend Docker image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: ./frontend
file: ./frontend/Dockerfile
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up kubectl
uses: azure/setup-kubectl@v4
uses: azure/setup-kubectl@v5
with:
version: 'latest'

Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up kubectl
uses: azure/setup-kubectl@v4
uses: azure/setup-kubectl@v5
with:
version: 'latest'

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/lint-backend.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Lint backend

on:
pull_request_target:
pull_request:
branches:
- develop
- main
Expand All @@ -13,12 +13,14 @@ on:
permissions:
checks: write
contents: read
pull-requests: write

jobs:
lint-backend:
name: Run backend linter
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- name: Check out Git repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-frontend.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Lint frontend

on:
pull_request_target:
pull_request:
branches:
- develop
- main
Expand All @@ -14,7 +14,7 @@ on:

permissions:
checks: write
contents: write
contents: read

jobs:
lint-frontend:
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/pr-bot.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
name: AI-assisted
on:
pull_request_target:
pull_request:
types: [ready_for_review, opened, reopened]

jobs:
approve:
name: Approve
runs-on: ubuntu-latest
environment: ${{ github.event.pull_request.head.repo.fork == true && 'manual-approval' || '' }}

summary:
name: PR Summary
if: github.actor != 'dependabot'
needs: approve
if: github.actor != 'dependabot[bot]'
runs-on: [ubuntu-latest]
steps:
- uses: SAP/ai-assisted-github-actions/pr-summary@v3
with:
aicore-service-key: ${{ secrets.AICORE_SERVICE_KEY }}
model: gpt-4o
model: gpt-4.1-nano
exclude-files: package-lock.json, uv.lock
review:
name: PR Review
if: github.actor != 'dependabot'
needs: approve
if: github.actor != 'dependabot[bot]'
runs-on: [ubuntu-latest]
steps:
- uses: SAP/ai-assisted-github-actions/pr-review@v3
with:
aicore-service-key: ${{ secrets.AICORE_SERVICE_KEY }}
model: anthropic--claude-4-sonnet
model: anthropic--claude-4.6-sonnet
exclude-files: package-lock.json, uv.lock
footer-text: |
---
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# Version: v0.6.6

* [#182](https://github.com/SAP/STARS/pull/182): Bump pypdf from 6.0.0 to 6.6.0 in /backend-agent
* [#183](https://github.com/SAP/STARS/pull/183): Bump unstructured from 0.18.21 to 0.18.27 in /backend-agent
* [#185](https://github.com/SAP/STARS/pull/185): Bump filelock from 3.19.1 to 3.20.3 in /backend-agent
* [#186](https://github.com/SAP/STARS/pull/186): Bump azure-core from 1.35.0 to 1.38.0 in /backend-agent
* [#187](https://github.com/SAP/STARS/pull/187): Bump pyasn1 from 0.6.1 to 0.6.2 in /backend-agent
* [#189](https://github.com/SAP/STARS/pull/189): Bump weasyprint from 67.0 to 68.0 in /backend-agent
* [#191](https://github.com/SAP/STARS/pull/191): Bump lodash from 4.17.21 to 4.17.23 in /frontend
* [#192](https://github.com/SAP/STARS/pull/192): Bump weasyprint from 67.0 to 68.0 in /backend-agent
* [#193](https://github.com/SAP/STARS/pull/193): Bump pypdf from 6.0.0 to 6.6.2 in /backend-agent
* [#194](https://github.com/SAP/STARS/pull/194): Bump python-multipart from 0.0.20 to 0.0.22 in /backend-agent
* [#196](https://github.com/SAP/STARS/pull/196): Bump sentence-transformers from 5.2.0 to 5.2.2 in /backend-agent
* [#197](https://github.com/SAP/STARS/pull/197): Bump unstructured from 0.18.27 to 0.18.31 in /backend-agent
* [#199](https://github.com/SAP/STARS/pull/199): Bump protobuf from 5.29.5 to 5.29.6 in /backend-agent
* [#201](https://github.com/SAP/STARS/pull/201): Bump langsmith from 0.4.23 to 0.6.3 in /backend-agent


# Version: v0.6.5

* [#168](https://github.com/SAP/STARS/pull/168): Bump weasyprint from 66.0 to 67.0 in /backend-agent
Expand Down
33 changes: 14 additions & 19 deletions backend-agent/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,27 @@
logger.addHandler(status.trace_logging)

AICORE_MODELS = {
'aicore-ibm':
[
'ibm--granite-13b-chat'
],
'aicore-mistralai':
[
'mistralai--mistral-large-instruct',
'mistralai--mistral-medium-instruct',
'mistralai--mistral-small-instruct',
],
'aicore-opensource':
[
'meta--llama3.1-70b-instruct',
],
'aws-bedrock':
[
'amazon--nova-lite',
Comment on lines 25 to 34

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a comment or docstring to explain the rationale behind removing certain AI core models and adding new ones. This would help future maintainers understand the decision-making process.

# Updated model configurations based on availability and performance metrics
# Removed deprecated models: aicore-ibm, aicore-opensource
# Added new Claude model: anthropic--claude-4.5-opus
# Updated Gemini models to latest versions (2.5 series)
AICORE_MODELS = {
    'aicore-mistralai': [
        'mistralai--mistral-large-instruct',
        # ... other models
    ],
    # ... rest of configuration
}

'amazon--nova-micro',
'amazon--nova-pro',
'amazon--nova-premier',
'anthropic--claude-3-haiku',
'anthropic--claude-3-opus',
'anthropic--claude-3.5-sonnet',
'anthropic--claude-3.7-sonnet',
'anthropic--claude-4-sonnet',
'anthropic--claude-4-opus',
'anthropic--claude-4.5-sonnet',
'anthropic--claude-4-sonnet',
'anthropic--claude-4.5-haiku',
'anthropic--claude-4.5-opus',
Comment thread
marcorosa marked this conversation as resolved.
'anthropic--claude-4.5-sonnet',
'anthropic--claude-4.6-opus',
'anthropic--claude-4.6-sonnet',
],
'azure-openai':
[
Expand All @@ -62,6 +55,7 @@
'gpt-5',
'gpt-5-mini',
'gpt-5-nano',
'gpt-5.2',
'o1',
'o3',
'o3-mini',
Expand All @@ -79,6 +73,7 @@
[
'sonar',
'sonar-pro',
'sonar-deep-research',
],
}

Expand All @@ -97,28 +92,28 @@ def from_model_name(cls, model_name: str) -> 'LLM':
Useful because the user can specify only the name in the agent.
"""
# Foundation-models scenarios in AI Core
if model_name in AICORE_MODELS['azure-openai']:
if model_name in AICORE_MODELS.get('azure-openai', []):
return AICoreOpenAILLM(model_name)
# IBM models are compatible with OpenAI completion API
if model_name in AICORE_MODELS['aicore-ibm']:
if model_name in AICORE_MODELS.get('aicore-ibm', []):
return AICoreOpenAILLM(model_name)
if model_name in AICORE_MODELS['aicore-opensource']:
if model_name in AICORE_MODELS.get('aicore-opensource', []):
return AICoreOpenAILLM(model_name, False)
# Mistral models are compatible with OpenAI completion API
if model_name in AICORE_MODELS['aicore-mistralai']:
if model_name in AICORE_MODELS.get('aicore-mistralai', []):
return AICoreOpenAILLM(model_name, False)
# Perplexity models are compatible with OpenAI completion API
if model_name in AICORE_MODELS['perplexity-ai']:
if model_name in AICORE_MODELS.get('perplexity-ai', []):
return AICoreOpenAILLM(model_name)

# Non OpenAI-compatible models in AI Core
if model_name in AICORE_MODELS['aws-bedrock']:
if model_name in AICORE_MODELS.get('aws-bedrock', []):
if 'titan' in model_name:
# Titan models don't support system prompts
return AICoreAmazonBedrockLLM(model_name, False)
else:
return AICoreAmazonBedrockLLM(model_name)
if model_name in AICORE_MODELS['gcp-vertexai']:
if model_name in AICORE_MODELS.get('gcp-vertexai', []):
return AICoreGoogleVertexLLM(model_name)

# Custom models
Expand Down
10 changes: 5 additions & 5 deletions backend-agent/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = 'stars'
version = '0.6.5'
version = '0.6.6'
description = 'Smart Threat AI Reporting Scanner (STARS)'
readme = 'README.md'
license = {text = 'Apache-2.0'}
Expand All @@ -14,7 +14,7 @@ maintainers = [
requires-python = '>=3.10,<3.13'
dependencies = [
'sap-ai-sdk-gen[all]==5.10.0',
'python-dotenv==1.2.1',
'python-dotenv==1.2.2',
'faiss-cpu==1.13.2',
'Flask==3.1.2',
'Flask-Cors==6.0.1',
Expand All @@ -26,16 +26,16 @@ dependencies = [
'langchain-text-splitters>=0.3.0,<0.4.0',
'PyYAML==6.0.3',
'requests==2.32.5',
'unstructured==0.18.21',
'unstructured==0.18.31',
'art==6.5',
'pandas==2.3.3',
'ollama==0.6.1',
'weasyprint==67.0',
'weasyprint==68.0',
'pyrit==0.9.0',
'codeattack @ git+https://github.com/marcorosa/CodeAttack',
'gptfuzzer @ git+https://github.com/marcorosa/GPTFuzz@no-vllm',
'garak==0.11.0',
'sentence-transformers==5.2.0',
'sentence-transformers==5.2.2',
Comment thread
marcorosa marked this conversation as resolved.
]

[project.optional-dependencies]
Expand Down
Loading
Loading