wso2 / wso2/api-platform

Failed to create LLM proxy from YAML error when Deploy from Platform API

Open
#1,186 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type/Task
Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Description

Click on generate API Key
Image

Gateway Controller Logs

gateway-controller-1  | time=2026-02-16T07:31:42.737Z level=INFO source=/build/pkg/controlplane/client.go:551 msg="Received WebSocket event" type=llmproxy.deployed payload="{\"type\":\"llmproxy.deployed\",\"payload\":{\"proxyId\":\"open-ai\",\"deploymentId\":\"e15bc39e-3651-484e-a9f6-5c4b47935279\",\"vhost\":\"\",\"environment\":\"production\"},\"timestamp\":\"2026-02-16T07:31:42Z\",\"correlationId\":\"bb566c19-a4f4-49c8-b6ee-c02b9ec7c6ec\"}"
gateway-controller-1  | time=2026-02-16T07:31:42.738Z level=INFO source=/build/pkg/controlplane/client.go:1189 msg="LLM Proxy Deployment Event" payload="map[deploymentId:e15bc39e-3651-484e-a9f6-5c4b47935279 environment:production proxyId:open-ai vhost:]" timestamp=2026-02-16T07:31:42Z correlationId=bb566c19-a4f4-49c8-b6ee-c02b9ec7c6ec
gateway-controller-1  | time=2026-02-16T07:31:42.739Z level=INFO source=/build/pkg/controlplane/client.go:1218 msg="Processing LLM proxy deployment" proxy_id=open-ai environment=production deployment_id=e15bc39e-3651-484e-a9f6-5c4b47935279 vhost="" correlation_id=bb566c19-a4f4-49c8-b6ee-c02b9ec7c6ec
gateway-controller-1  | time=2026-02-16T07:31:42.739Z level=INFO source=/build/pkg/utils/api_utils.go:184 msg="Fetching LLM proxy definition" proxy_id=open-ai url=https://platform-api.preview-dv.choreo.dev/api/internal/v1/llm-proxies/open-ai
gateway-controller-1  | time=2026-02-16T07:31:43.551Z level=INFO source=/build/pkg/utils/api_utils.go:228 msg="Successfully fetched LLM proxy definition" proxy_id=open-ai size_bytes=342
gateway-controller-1  | time=2026-02-16T07:31:43.551Z level=INFO source=/build/pkg/utils/api_utils.go:248 msg="Found YAML file in zip" filename=llm-proxy-open-ai.yaml
gateway-controller-1  | time=2026-02-16T07:31:43.554Z level=ERROR source=/build/pkg/controlplane/client.go:1257 msg="Failed to create LLM proxy from YAML" proxy_id=open-ai error="failed to deploy LLM proxy configuration from YAML: failed to transform LLM proxy to API configuration: provider.auth.value is required"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in pkg/controlplane/client.go at the LLM proxy deployment handling, then follow the YAML fetch and transformation flow through pkg/utils/api_utils.go. Use llm-proxy-open-ai.yaml and the logged provider.auth.value error to reproduce the deployment failure. Done means deploying the proxy from the Platform API no longer fails at YAML transformation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
ai, api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.