Skip to content

Commit 44a8508

Browse files
authored
Merge pull request #145 from SAP/develop
Release v0.6.3
2 parents b3a744a + 4745dd4 commit 44a8508

7 files changed

Lines changed: 350 additions & 335 deletions

File tree

.github/workflows/docker.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ jobs:
226226

227227
- name: Configure kubectl for SAP BTP Kyma
228228
run: |
229+
# Create symlink for kubectl-oidc_login
230+
ln -s $(which kubelogin) /usr/local/bin/kubectl-oidc_login
229231
mkdir -p ~/.kube
230232
echo "${{ secrets.KUBECONFIG }}" | base64 -d > ~/.kube/config
231233
chmod 600 ~/.kube/config
@@ -257,6 +259,8 @@ jobs:
257259

258260
- name: Configure kubectl for SAP BTP Kyma
259261
run: |
262+
# Create symlink for kubectl-oidc_login
263+
ln -s $(which kubelogin) /usr/local/bin/kubectl-oidc_login
260264
mkdir -p ~/.kube
261265
echo "${{ secrets.KUBECONFIG }}" | base64 -d > ~/.kube/config
262266
chmod 600 ~/.kube/config

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# Version: v0.6.3
2+
3+
* [#139](https://github.com/SAP/STARS/pull/139): Add perplexity model family
4+
* [#140](https://github.com/SAP/STARS/pull/140): Bump python-dotenv from 1.1.1 to 1.2.1 in /backend-agent
5+
* [#141](https://github.com/SAP/STARS/pull/141): Bump sentence-transformers from 5.1.1 to 5.1.2 in /backend-agent
6+
* [#143](https://github.com/SAP/STARS/pull/143): Bump sap-ai-sdk-gen[all] from 5.7.5 to 5.8.0 in /backend-agent
7+
* [#144](https://github.com/SAP/STARS/pull/144): Bump the js-dependencies group across 1 directory with 23 updates
8+
9+
110
# Version: v0.6.2
211

312
* [#125](https://github.com/SAP/STARS/pull/125): Re organize backend

backend-agent/llm.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
'anthropic--claude-3.7-sonnet',
5050
'anthropic--claude-4-sonnet',
5151
'anthropic--claude-4-opus',
52+
'anthropic--claude-4.5-sonnet',
5253
],
5354
'azure-openai':
5455
[
@@ -72,6 +73,11 @@
7273
'gemini-2.5-flash',
7374
'gemini-2.5-pro',
7475
],
76+
'perplexity-ai':
77+
[
78+
'sonar',
79+
'sonar-pro',
80+
],
7581
}
7682

7783

@@ -91,13 +97,19 @@ def from_model_name(cls, model_name: str) -> 'LLM':
9197
# Foundation-models scenarios in AI Core
9298
if model_name in AICORE_MODELS['azure-openai']:
9399
return AICoreOpenAILLM(model_name)
100+
# IBM models are compatible with OpenAI completion API
94101
if model_name in AICORE_MODELS['aicore-ibm']:
95-
# IBM models are compatible with OpenAI completion API
96102
return AICoreOpenAILLM(model_name)
97103
if model_name in AICORE_MODELS['aicore-opensource']:
98104
return AICoreOpenAILLM(model_name, False)
105+
# Mistral models are compatible with OpenAI completion API
99106
if model_name in AICORE_MODELS['aicore-mistralai']:
100107
return AICoreOpenAILLM(model_name, False)
108+
# Perplexity models are compatible with OpenAI completion API
109+
if model_name in AICORE_MODELS['perplexity-ai']:
110+
return AICoreOpenAILLM(model_name)
111+
112+
# Non OpenAI-compatible models in AI Core
101113
if model_name in AICORE_MODELS['aws-bedrock']:
102114
if 'titan' in model_name:
103115
# Titan models don't support system prompts

backend-agent/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = 'stars'
3-
version = '0.6.2'
3+
version = '0.6.3'
44
description = 'Smart Threat AI Reporting Scanner (STARS)'
55
readme = 'README.md'
66
license = {text = 'Apache-2.0'}
@@ -13,8 +13,8 @@ maintainers = [
1313
]
1414
requires-python = '>=3.10,<3.13'
1515
dependencies = [
16-
'sap-ai-sdk-gen[all]==5.7.5',
17-
'python-dotenv==1.1.1',
16+
'sap-ai-sdk-gen[all]==5.8.0',
17+
'python-dotenv==1.2.1',
1818
'faiss-cpu==1.12.0',
1919
'Flask==3.1.2',
2020
'Flask-Cors==6.0.1',
@@ -35,7 +35,7 @@ dependencies = [
3535
'codeattack @ git+https://github.com/marcorosa/CodeAttack',
3636
'gptfuzzer @ git+https://github.com/marcorosa/GPTFuzz@no-vllm',
3737
'garak==0.11.0',
38-
'sentence-transformers==5.1.1',
38+
'sentence-transformers==5.1.2',
3939
]
4040

4141
[project.optional-dependencies]

backend-agent/uv.lock

Lines changed: 18 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)