fix(sap): add sap as provider for list in add credentials component in proxy ui, add sap logo (#18375)

This commit is contained in:
vasilisazayka 2025-12-23 20:59:51 +04:00 committed by GitHub
parent fda919d6ef
commit f284fc716d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

View file

@ -42,6 +42,7 @@ export enum Providers {
VolcEngine = "VolcEngine",
Voyage = "Voyage AI",
xAI = "xAI",
SAP = "SAP Generative AI Hub",
}
export const provider_map: Record<string, string> = {
@ -87,6 +88,7 @@ export const provider_map: Record<string, string> = {
DeepInfra: "deepinfra",
Hosted_Vllm: "hosted_vllm",
Infinity: "infinity",
SAP: "sap",
};
const asset_logos_folder = "../ui/assets/logos/";
@ -134,6 +136,7 @@ export const providerLogoMap: Record<string, string> = {
[Providers.JinaAI]: `${asset_logos_folder}jina.png`,
[Providers.VolcEngine]: `${asset_logos_folder}volcengine.png`,
[Providers.DeepInfra]: `${asset_logos_folder}deepinfra.png`,
[Providers.SAP]: `${asset_logos_folder}sap.png`,
};
export const getProviderLogoAndName = (providerValue: string): { logo: string; displayName: string } => {