E2B var env fix (#16576)
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
+2
-2
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user