E2B var env fix (#16576)

This commit is contained in:
Etienne
2025-12-15 18:20:22 +01:00
committed by GitHub
parent cd0318ea65
commit 0ecb60f50b
3 changed files with 5 additions and 5 deletions
@@ -28,7 +28,7 @@ export const codeInterpreterModuleFactory = async (
options: { timeoutMs },
};
}
case CodeInterpreterDriverType.E2B: {
case CodeInterpreterDriverType.E_2_B: {
const apiKey = twentyConfigService.get('E2B_API_KEY');
if (!apiKey) {
@@ -38,7 +38,7 @@ export const codeInterpreterModuleFactory = async (
}
return {
type: CodeInterpreterDriverType.E2B,
type: CodeInterpreterDriverType.E_2_B,
options: {
apiKey,
timeoutMs,
@@ -5,7 +5,7 @@ import { type LocalDriverOptions } from './drivers/local.driver';
export enum CodeInterpreterDriverType {
LOCAL = 'LOCAL',
E2B = 'E2B',
E_2_B = 'E_2_B',
}
export type LocalDriverFactoryOptions = {
@@ -14,7 +14,7 @@ export type LocalDriverFactoryOptions = {
};
export type E2BDriverFactoryOptions = {
type: CodeInterpreterDriverType.E2B;
type: CodeInterpreterDriverType.E_2_B;
options: E2BDriverOptions;
};