fix: sap provider - show models when resource group field is empty (and use the default value) (#5839)

* fix: sap provider - show models when resource group field is empty

* fix: sap provider - show models when resource group field is empty

* fix: sap provider - show models when resource group field is empty
This commit is contained in:
yuvalman authored and GitHub committed 2025-08-28 10:12:50 -07:00
1 parent fa4fa01ec3
commit 518e624086
2 files changed
+6 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
fix showing the ai core exisiting models when resource group field is empty (using the default resource group)
@@ -45,8 +45,7 @@ export const SapAiCoreProvider = ({ showModelOptions, isPopup, currentMode }: Sa
apiConfiguration?.sapAiCoreClientId &&
apiConfiguration?.sapAiCoreClientSecret &&
apiConfiguration?.sapAiCoreBaseUrl &&
apiConfiguration?.sapAiCoreTokenUrl &&
apiConfiguration?.sapAiResourceGroup
apiConfiguration?.sapAiCoreTokenUrl
// Function to fetch SAP AI Core models
const fetchSapAiCoreModels = useCallback(async () => {