diff --git a/platform-api/src/resources/default-llm-provider-templates/azureopenai-template.yaml b/platform-api/src/resources/default-llm-provider-templates/azureopenai-template.yaml index ecfe2a9d2..85bcd6320 100644 --- a/platform-api/src/resources/default-llm-provider-templates/azureopenai-template.yaml +++ b/platform-api/src/resources/default-llm-provider-templates/azureopenai-template.yaml @@ -26,14 +26,14 @@ spec: auth: type: apiKey header: api-key - logoUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/azure.openai/icon.png - openapiSpecUrl: https://raw.githubusercontent.com/nomadxd/openapi-connectors/main/openapi/azure.openai/openapi.yaml + 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 promptTokens: location: payload - identifier: $.usage.prompt_tokens + identifier: $.usage.input_tokens completionTokens: location: payload - identifier: $.usage.completion_tokens + identifier: $.usage.output_tokens totalTokens: location: payload identifier: $.usage.total_tokens diff --git a/platform-api/src/resources/default-llm-provider-templates/openai-template.yaml b/platform-api/src/resources/default-llm-provider-templates/openai-template.yaml index 7d28d9ad1..0c4d22094 100644 --- a/platform-api/src/resources/default-llm-provider-templates/openai-template.yaml +++ b/platform-api/src/resources/default-llm-provider-templates/openai-template.yaml @@ -23,7 +23,7 @@ metadata: spec: displayName: OpenAI metadata: - endpointUrl: https://api.openai.com + endpointUrl: https://api.openai.com/v1 auth: type: apiKey header: Authorization