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

Reverting
https://github.com/coder/coder/commit/377c1309b7a42ead9cfbd864f0af8e9b6e472851
since release 2.35 was already cut:
https://github.com/coder/coder/tree/release/2.35
This commit is contained in:
Paweł Banaszewski
2026-07-02 13:45:05 +00:00
committed by GitHub
parent 332e32d42b
commit 79a74fc817
15 changed files with 240 additions and 40 deletions
+4 -16
View File
@@ -1434,10 +1434,7 @@ const docTemplate = `{
{
"CoderSessionToken": []
}
],
"x-apidocgen": {
"skip": true
}
]
},
"post": {
"consumes": [
@@ -1474,10 +1471,7 @@ const docTemplate = `{
{
"CoderSessionToken": []
}
],
"x-apidocgen": {
"skip": true
}
]
}
},
"/api/v2/ai-gateway/keys/{key}": {
@@ -1506,10 +1500,7 @@ const docTemplate = `{
{
"CoderSessionToken": []
}
],
"x-apidocgen": {
"skip": true
}
]
}
},
"/api/v2/ai-gateway/models": {
@@ -1557,10 +1548,7 @@ const docTemplate = `{
{
"AIGatewayKey": []
}
],
"x-apidocgen": {
"skip": true
}
]
}
},
"/api/v2/ai-gateway/sessions": {
+4 -16
View File
@@ -1269,10 +1269,7 @@
{
"CoderSessionToken": []
}
],
"x-apidocgen": {
"skip": true
}
]
},
"post": {
"consumes": ["application/json"],
@@ -1303,10 +1300,7 @@
{
"CoderSessionToken": []
}
],
"x-apidocgen": {
"skip": true
}
]
}
},
"/api/v2/ai-gateway/keys/{key}": {
@@ -1333,10 +1327,7 @@
{
"CoderSessionToken": []
}
],
"x-apidocgen": {
"skip": true
}
]
}
},
"/api/v2/ai-gateway/models": {
@@ -1378,10 +1369,7 @@
{
"AIGatewayKey": []
}
],
"x-apidocgen": {
"skip": true
}
]
}
},
"/api/v2/ai-gateway/sessions": {