Skip to content

Remove deprecated AI Gateway API#2155

Merged
tomasz-sadura merged 2 commits into
masterfrom
ts/remove-deprecated-ai-gateway-api
Jan 22, 2026
Merged

Remove deprecated AI Gateway API#2155
tomasz-sadura merged 2 commits into
masterfrom
ts/remove-deprecated-ai-gateway-api

Conversation

@tomasz-sadura

Copy link
Copy Markdown
Contributor

The initial AI Gateway API implemented by Redpanda Connect API will no longer be used so can be removed.

@github-actions

github-actions Bot commented Jan 19, 2026

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / validate (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedJan 22, 2026, 1:39 PM

@tomasz-sadura tomasz-sadura force-pushed the ts/remove-deprecated-ai-gateway-api branch from 288ffdc to 8e40e5b Compare January 21, 2026 13:38
@tomasz-sadura tomasz-sadura force-pushed the ts/remove-deprecated-ai-gateway-api branch from 8e40e5b to 23f602d Compare January 22, 2026 13:07
@tomasz-sadura tomasz-sadura force-pushed the ts/remove-deprecated-ai-gateway-api branch from 47ca377 to 7aa0bd1 Compare January 22, 2026 13:39
@tomasz-sadura tomasz-sadura merged commit 042c578 into master Jan 22, 2026
21 checks passed
@tomasz-sadura tomasz-sadura deleted the ts/remove-deprecated-ai-gateway-api branch January 22, 2026 14:09
malinskibeniamin added a commit that referenced this pull request Apr 21, 2026
* chore(frontend): remove vestigial AI Gateway v1 references

The old AI Gateway v1 UI was removed from Console in #2155 (Jan 2026)
but a dev proxy and two buf-generated npm packages remained. Drop them.

Removed:
- Dev proxy block for `/.redpanda/api/redpanda.api.aigateway.v1` in rsbuild.config.ts
- `AI_GATEWAY_URL` env var export in start-cloud.sh (and cluster-id regex helper it depended on)
- `@buf/redpandadata_ai-gateway.bufbuild_es` / `@buf/redpandadata_ai-gateway.connectrpc_query-es` deps

Preserved:
- AI Gateway v2 (`aigw`) proxy, hooks, query layer, agent pages
- Scope.AI_GATEWAY secret scope (semantically v2 now)
- Deprecated `virtualGatewayId` field in `AIAgent.GatewayConfig` proto — backend contract stays

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore(frontend): regenerate lockfiles after dropping aigw v1 packages

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* chore(frontend): drop AI Gateway v2 proxy; Console will consume AIGW via ADP UI

The /.aigw/api dev proxy is removed. Console does not call AI Gateway
(v1 or v2) directly anymore; ADP UI (hosted inside Cloud UI) owns all
AIGW interaction going forward.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Revert "chore(frontend): drop AI Gateway v2 proxy; Console will consume AIGW via ADP UI"

Per reviewer feedback on #2403: the aigw v2 (`/.aigw/api`) dev proxy
stays. It powers Console's own aigw v2 API calls (LLMProviderService,
ModelService) used by the agent pages. Only the v1 proxy is removed
in this PR.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants