mirror of
https://github.com/coder/coder.git
synced 2026-10-29 17:44:33 +08:00
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:
@@ -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
@@ -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
|
||||
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user