diff --git a/platform-api/resources/default-llm-provider-templates/anthropic-template.yaml b/platform-api/resources/default-llm-provider-templates/anthropic-template.yaml index 16ff77012d..5ae3846b43 100644 --- a/platform-api/resources/default-llm-provider-templates/anthropic-template.yaml +++ b/platform-api/resources/default-llm-provider-templates/anthropic-template.yaml @@ -28,8 +28,8 @@ spec: auth: type: apiKey header: x-api-key - logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/anthropic.claude/icon.png - openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/anthropic.claude/openapi.yaml + logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/anthropic/icon.png + openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/anthropic/openapi.yaml promptTokens: location: payload identifier: $.usage.input_tokens diff --git a/platform-api/resources/default-llm-provider-templates/awsbedrock-template.yaml b/platform-api/resources/default-llm-provider-templates/awsbedrock-template.yaml index 6917e16ffa..e29da853b5 100644 --- a/platform-api/resources/default-llm-provider-templates/awsbedrock-template.yaml +++ b/platform-api/resources/default-llm-provider-templates/awsbedrock-template.yaml @@ -24,8 +24,8 @@ spec: managedBy: wso2 version: v1.0 metadata: - logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/aws.bedrock/icon.png - openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/aws.bedrock/openapi.yaml + logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/awsbedrock/icon.png + openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/awsbedrock/openapi.yaml promptTokens: location: payload identifier: $.usage.inputTokens diff --git a/platform-api/resources/default-llm-provider-templates/azureaifoundry-template.yaml b/platform-api/resources/default-llm-provider-templates/azureaifoundry-template.yaml index 9bfc323b6b..02c084e406 100644 --- a/platform-api/resources/default-llm-provider-templates/azureaifoundry-template.yaml +++ b/platform-api/resources/default-llm-provider-templates/azureaifoundry-template.yaml @@ -27,7 +27,8 @@ spec: auth: type: apiKey header: api-key - logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/azure.openai/icon.png + logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/azureai-foundry/icon.png + openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/azureai-foundry/openapi.yaml promptTokens: location: payload identifier: $.usage.prompt_tokens diff --git a/platform-api/resources/default-llm-provider-templates/azureopenai-template.yaml b/platform-api/resources/default-llm-provider-templates/azureopenai-template.yaml index 5b6394904d..82808b0f85 100644 --- a/platform-api/resources/default-llm-provider-templates/azureopenai-template.yaml +++ b/platform-api/resources/default-llm-provider-templates/azureopenai-template.yaml @@ -27,8 +27,8 @@ spec: auth: type: apiKey header: api-key - logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/refs/heads/main/openapi/azure.openai.v2/icon.png - openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/refs/heads/main/openapi/azure.openai.v2/openapi.yaml + logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/azure-openai/icon.png + openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/azure-openai/openapi.yaml promptTokens: location: payload identifier: $.usage.prompt_tokens diff --git a/platform-api/resources/default-llm-provider-templates/gemini-template.yaml b/platform-api/resources/default-llm-provider-templates/gemini-template.yaml index a4946ae3ae..9aee0c5022 100644 --- a/platform-api/resources/default-llm-provider-templates/gemini-template.yaml +++ b/platform-api/resources/default-llm-provider-templates/gemini-template.yaml @@ -28,6 +28,8 @@ spec: auth: type: apiKey header: x-goog-api-key + logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/gemini/icon.png + openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/gemini/openapi.yaml promptTokens: location: payload identifier: $.usageMetadata.promptTokenCount diff --git a/platform-api/resources/default-llm-provider-templates/mistral-template.yaml b/platform-api/resources/default-llm-provider-templates/mistral-template.yaml index 216e278ef2..5b04efabe3 100644 --- a/platform-api/resources/default-llm-provider-templates/mistral-template.yaml +++ b/platform-api/resources/default-llm-provider-templates/mistral-template.yaml @@ -29,8 +29,8 @@ spec: type: apiKey header: Authorization valuePrefix: "Bearer " - logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/mistral/icon.png - openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/mistral/openapi.yaml + logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/mistral/icon.png + openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/mistral/openapi.yaml promptTokens: location: payload identifier: $.usage.prompt_tokens diff --git a/platform-api/resources/default-llm-provider-templates/openai-template.yaml b/platform-api/resources/default-llm-provider-templates/openai-template.yaml index 0f58556941..ba0490e127 100644 --- a/platform-api/resources/default-llm-provider-templates/openai-template.yaml +++ b/platform-api/resources/default-llm-provider-templates/openai-template.yaml @@ -29,8 +29,8 @@ spec: type: apiKey header: Authorization valuePrefix: "Bearer " - logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/openai/icon.png - openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/openai/openapi.yaml + logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/openai/icon.png + openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/openai/openapi.yaml promptTokens: location: payload identifier: $.usage.prompt_tokens diff --git a/portals/ai-workspace/src/pages/appShell/appShellPages/serviceProvider/AddNewProvider/ProviderTemplateSelector.tsx b/portals/ai-workspace/src/pages/appShell/appShellPages/serviceProvider/AddNewProvider/ProviderTemplateSelector.tsx index 0d15cf197e..edd7b8b980 100644 --- a/portals/ai-workspace/src/pages/appShell/appShellPages/serviceProvider/AddNewProvider/ProviderTemplateSelector.tsx +++ b/portals/ai-workspace/src/pages/appShell/appShellPages/serviceProvider/AddNewProvider/ProviderTemplateSelector.tsx @@ -203,7 +203,7 @@ export default function ProviderTemplateSelector({ display: 'flex', alignItems: 'center', justifyContent: 'center', - backgroundColor: 'background.default', + backgroundColor: 'common.white', overflow: 'hidden', }} >