chore: hide AI Gateway key management UI/CLI/API (#26879)

Hides UI, CLI and API related to AI Gateway key management +
`/api/v2/ai-gateway/serve` endpoint.
API endpoints and CLI commands are still working they are just not
visible.
This commit is contained in:
Paweł Banaszewski
2026-06-30 17:32:38 +00:00
committed by GitHub
parent 22d9eaa4e4
commit 377c1309b7
15 changed files with 40 additions and 240 deletions
+3 -2
View File
@@ -14,8 +14,9 @@ import (
func (r *RootCmd) aiGateway() *serpent.Command {
return &serpent.Command{
Use: "ai-gateway",
Short: "Manage AI Gateway",
Use: "ai-gateway",
Short: "Manage AI Gateway",
Hidden: true,
Handler: func(inv *serpent.Invocation) error {
return inv.Command.HelpHandler(inv)
},
-1
View File
@@ -16,7 +16,6 @@ USAGE:
SUBCOMMANDS:
agent-firewall Network isolation tool for monitoring and restricting
HTTP/HTTPS requests
ai-gateway Manage AI Gateway
external-workspaces Create or manage external workspaces
features List Enterprise features
groups Manage groups
-12
View File
@@ -1,12 +0,0 @@
coder v0.0.0-devel
USAGE:
coder ai-gateway
Manage AI Gateway
SUBCOMMANDS:
keys Manage AI Gateway keys
———
Run `coder --help` for a list of global options.
@@ -1,14 +0,0 @@
coder v0.0.0-devel
USAGE:
coder ai-gateway keys
Manage AI Gateway keys
SUBCOMMANDS:
create Create an AI Gateway key
delete Delete an AI Gateway key
list List AI Gateway keys
———
Run `coder --help` for a list of global options.
@@ -1,9 +0,0 @@
coder v0.0.0-devel
USAGE:
coder ai-gateway keys create <name>
Create an AI Gateway key
———
Run `coder --help` for a list of global options.
@@ -1,15 +0,0 @@
coder v0.0.0-devel
USAGE:
coder ai-gateway keys delete [flags] <name|id>
Delete an AI Gateway key
Aliases: rm
OPTIONS:
-y, --yes bool
Bypass confirmation prompts.
———
Run `coder --help` for a list of global options.
@@ -1,18 +0,0 @@
coder v0.0.0-devel
USAGE:
coder ai-gateway keys list [flags]
List AI Gateway keys
Aliases: ls
OPTIONS:
-c, --column [id|name|key prefix|created at|last heartbeat at] (default: id,name,key prefix,last heartbeat at,created at)
Columns to display in table output.
-o, --output table|json (default: table)
Output format.
———
Run `coder --help` for a list of global options.