Skip to content

Commit c84edeb

Browse files
nit on deprecated env vars
1 parent 779bc9e commit c84edeb

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

packages/shared/src/env.server.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -304,20 +304,11 @@ const options = {
304304
GOOGLE_VERTEX_REGION: z.string().default('us-central1'),
305305
GOOGLE_APPLICATION_CREDENTIALS: z.string().optional(),
306306

307-
/**
308-
* @deprecated Use `thinkingBudget` in the language model config instead.
309-
*/
310-
GOOGLE_VERTEX_THINKING_BUDGET_TOKENS: numberSchema.optional(),
311-
312307
AWS_ACCESS_KEY_ID: z.string().optional(),
313308
AWS_SECRET_ACCESS_KEY: z.string().optional(),
314309
AWS_SESSION_TOKEN: z.string().optional(),
315310
AWS_REGION: z.string().optional(),
316311

317-
/**
318-
* @deprecated Use per-model `temperature` in the language model config instead.
319-
*/
320-
SOURCEBOT_CHAT_MODEL_TEMPERATURE: numberSchema.optional(),
321312
SOURCEBOT_CHAT_MAX_STEP_COUNT: numberSchema.default(100),
322313
SOURCEBOT_CHAT_PROMPT_CACHING_ENABLED: booleanSchema.default('true'),
323314
SOURCEBOT_MCP_TOOL_CALL_TIMEOUT_MS: numberSchema.int().positive().max(maxTimerDelayMs).default(60000),
@@ -338,12 +329,6 @@ const options = {
338329
return value ?? ((process.env.EXPERIMENT_DISABLE_API_KEY_CREATION_FOR_NON_ADMIN_USERS as 'true' | 'false') ?? 'false');
339330
}),
340331

341-
/**
342-
* @deprecated Use `DISABLE_API_KEY_CREATION_FOR_NON_OWNER_USERS` instead.
343-
*/
344-
EXPERIMENT_DISABLE_API_KEY_CREATION_FOR_NON_ADMIN_USERS: booleanSchema.default('false'),
345-
346-
347332
// Experimental Environment Variables
348333
// @note: These environment variables are subject to change at any time and are not garunteed to be backwards compatible.
349334
EXPERIMENT_SELF_SERVE_REPO_INDEXING_ENABLED: booleanSchema.default('false'),
@@ -403,11 +388,6 @@ const options = {
403388
return value ?? ((process.env.EXPERIMENT_EE_PERMISSION_SYNC_ENABLED as 'true' | 'false') ?? 'false');
404389
}),
405390

406-
/**
407-
* @deprecated Use `PERMISSION_SYNC_ENABLED` instead.
408-
*/
409-
EXPERIMENT_EE_PERMISSION_SYNC_ENABLED: booleanSchema.default('false'),
410-
411391
/**
412392
* Configure whether to send telemetry events.
413393
* By default, all events are anonymized and do not contain PII data,
@@ -454,6 +434,26 @@ const options = {
454434
* explicitly set.
455435
*/
456436
FORCE_ENABLE_ANONYMOUS_ACCESS: booleanSchema.optional(),
437+
438+
/**
439+
* @deprecated Use `PERMISSION_SYNC_ENABLED` instead.
440+
*/
441+
EXPERIMENT_EE_PERMISSION_SYNC_ENABLED: booleanSchema.default('false'),
442+
443+
/**
444+
* @deprecated Use `thinkingBudget` in the language model config instead.
445+
*/
446+
GOOGLE_VERTEX_THINKING_BUDGET_TOKENS: numberSchema.optional(),
447+
448+
/**
449+
* @deprecated Use per-model `temperature` in the language model config instead.
450+
*/
451+
SOURCEBOT_CHAT_MODEL_TEMPERATURE: numberSchema.optional(),
452+
453+
/**
454+
* @deprecated Use `DISABLE_API_KEY_CREATION_FOR_NON_OWNER_USERS` instead.
455+
*/
456+
EXPERIMENT_DISABLE_API_KEY_CREATION_FOR_NON_ADMIN_USERS: booleanSchema.default('false'),
457457
},
458458
runtimeEnv,
459459
emptyStringAsUndefined: true,

0 commit comments

Comments
 (0)