mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: relax secrets env var denylist for model providers (#24344)
Previously we reserved some env vars that may collide with AI gateway. These were incomplete and take away flexibility from the user, which we're prioritizing in the first iteration of the feature.
This commit is contained in:
Generated
-14
@@ -8249,20 +8249,6 @@ export interface UserSecret {
|
||||
readonly updated_at: string;
|
||||
}
|
||||
|
||||
// From codersdk/usersecretvalidation.go
|
||||
/**
|
||||
* UserSecretEnvValidationOptions controls deployment-aware behavior
|
||||
* in environment variable name validation.
|
||||
*/
|
||||
export interface UserSecretEnvValidationOptions {
|
||||
/**
|
||||
* AIGatewayEnabled indicates that the deployment has AI Gateway
|
||||
* configured. When true, AI Gateway environment variables
|
||||
* (OPENAI_API_KEY, etc.) are reserved to prevent conflicts.
|
||||
*/
|
||||
readonly AIGatewayEnabled: boolean;
|
||||
}
|
||||
|
||||
// From codersdk/users.go
|
||||
export type UserStatus = "active" | "dormant" | "suspended";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user