Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 2 additions & 20 deletions frontend/bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@
"@a2a-js/sdk": "^0.3.13",
"@autoform/react": "^4.0.0",
"@autoform/zod": "^5.0.0",
"@buf/redpandadata_ai-gateway.bufbuild_es": "^2.11.0-20260313141452-dbbaece03f76.1",
"@buf/redpandadata_ai-gateway.connectrpc_query-es": "^2.2.0-20260313141452-dbbaece03f76.1",
"@buf/redpandadata_cloud.connectrpc_query-es": "^2.2.0-20251128173054-b9f9fc6e5a70.1",
"@buf/redpandadata_common.bufbuild_es": "^2.11.0-20260316210807-5d899910f714.1",
"@bufbuild/protobuf": "^2.10.0",
Expand Down
16 changes: 0 additions & 16 deletions frontend/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,22 +87,6 @@ export default defineConfig({
credentials: true,
},
proxy: [
// AI Gateway API - proxy to separate AI Gateway service
// Matches: /.redpanda/api/redpanda.api.aigateway.v1.*
// Proto package is: redpanda.api.aigateway.v1 (includes .api)
// AI Gateway now expects the full path with .api
...(process.env.AI_GATEWAY_URL
? [
{
context: ['/.redpanda/api/redpanda.api.aigateway.v1'],
target: process.env.AI_GATEWAY_URL,
changeOrigin: true,
secure: false,
logLevel: 'debug',
// No pathRewrite - AI Gateway expects full path with .api
},
]
: []),
// AIGW v2 API - proxy to new AI Gateway management API (LLMProviderService, ModelService)
...(process.env.AIGW_URL
? [
Expand Down
8 changes: 0 additions & 8 deletions frontend/start-cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,7 @@ if [ -z "$BACKEND_URL" ]; then
exit 1
fi

# Extract cluster ID from backend URL
# Example: https://console-2fd2fedf.d5mst2vnnfekmiescdb0.fmc.ign.cloud.redpanda.com
# Example: https://console-2498fb74.d5tp5kntujt599ksadgg.byoc.ign.cloud.redpanda.com
# Example: https://console-xxx.d5xxx.ppd.ign.cloud.redpanda.com (preprod)
# Extracts: d5mst2vnnfekmiescdb0 or d5tp5kntujt599ksadgg
CLUSTER_ID=$(echo "$BACKEND_URL" | sed -E 's/.*\.([a-z0-9]+)\.(fmc\.ign|byoc\.ign|ppd\.ign|rpd)\.cloud\.redpanda\.com.*/\1/')

export PROXY_TARGET="$BACKEND_URL"
export AI_GATEWAY_URL="https://ai-gateway.${CLUSTER_ID}.clusters.ign.rdpa.co"
export REACT_APP_ENABLED_FEATURES=SINGLE_SIGN_ON,REASSIGN_PARTITIONS

echo "Starting frontend dev server..."
Expand Down
Loading
Loading