Skip to content

Commit cabce7f

Browse files
authored
Merge pull request #2722 from Tharanidk/logo-fixing
Move LLM provider template logo and OpenAPI spec URLs to wso2/api-platform
2 parents 5b3bcbb + 3bb00ba commit cabce7f

8 files changed

Lines changed: 15 additions & 12 deletions

File tree

platform-api/resources/default-llm-provider-templates/anthropic-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ spec:
2828
auth:
2929
type: apiKey
3030
header: x-api-key
31-
logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/anthropic.claude/icon.png
32-
openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/anthropic.claude/openapi.yaml
31+
logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/anthropic/icon.png
32+
openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/anthropic/openapi.yaml
3333
promptTokens:
3434
location: payload
3535
identifier: $.usage.input_tokens

platform-api/resources/default-llm-provider-templates/awsbedrock-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ spec:
2424
managedBy: wso2
2525
version: v1.0
2626
metadata:
27-
logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/aws.bedrock/icon.png
28-
openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/aws.bedrock/openapi.yaml
27+
logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/awsbedrock/icon.png
28+
openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/awsbedrock/openapi.yaml
2929
promptTokens:
3030
location: payload
3131
identifier: $.usage.inputTokens

platform-api/resources/default-llm-provider-templates/azureaifoundry-template.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ spec:
2727
auth:
2828
type: apiKey
2929
header: api-key
30-
logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/azure.openai/icon.png
30+
logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/azureai-foundry/icon.png
31+
openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/azureai-foundry/openapi.yaml
3132
promptTokens:
3233
location: payload
3334
identifier: $.usage.prompt_tokens

platform-api/resources/default-llm-provider-templates/azureopenai-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ spec:
2727
auth:
2828
type: apiKey
2929
header: api-key
30-
logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/refs/heads/main/openapi/azure.openai.v2/icon.png
31-
openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/refs/heads/main/openapi/azure.openai.v2/openapi.yaml
30+
logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/azure-openai/icon.png
31+
openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/azure-openai/openapi.yaml
3232
promptTokens:
3333
location: payload
3434
identifier: $.usage.prompt_tokens

platform-api/resources/default-llm-provider-templates/gemini-template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ spec:
2828
auth:
2929
type: apiKey
3030
header: x-goog-api-key
31+
logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/gemini/icon.png
32+
openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/gemini/openapi.yaml
3133
promptTokens:
3234
location: payload
3335
identifier: $.usageMetadata.promptTokenCount

platform-api/resources/default-llm-provider-templates/mistral-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ spec:
2929
type: apiKey
3030
header: Authorization
3131
valuePrefix: "Bearer "
32-
logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/mistral/icon.png
33-
openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/mistral/openapi.yaml
32+
logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/mistral/icon.png
33+
openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/mistral/openapi.yaml
3434
promptTokens:
3535
location: payload
3636
identifier: $.usage.prompt_tokens

platform-api/resources/default-llm-provider-templates/openai-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ spec:
2929
type: apiKey
3030
header: Authorization
3131
valuePrefix: "Bearer "
32-
logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/openai/icon.png
33-
openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/openai/openapi.yaml
32+
logoUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/openai/icon.png
33+
openapiSpecUrl: https://raw.githubusercontent.com/wso2/api-platform/main/llm-provider-specs/openai/openapi.yaml
3434
promptTokens:
3535
location: payload
3636
identifier: $.usage.prompt_tokens

portals/ai-workspace/src/pages/appShell/appShellPages/serviceProvider/AddNewProvider/ProviderTemplateSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export default function ProviderTemplateSelector({
203203
display: 'flex',
204204
alignItems: 'center',
205205
justifyContent: 'center',
206-
backgroundColor: 'background.default',
206+
backgroundColor: 'common.white',
207207
overflow: 'hidden',
208208
}}
209209
>

0 commit comments

Comments
 (0)