From d8ff33441e9298712b4061dce355af78feef8352 Mon Sep 17 00:00:00 2001 From: Pascal Reichmuth Date: Thu, 12 Sep 2024 15:51:00 +0200 Subject: [PATCH 1/4] Update openai.ts --- packages/server/src/automations/steps/openai.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/automations/steps/openai.ts b/packages/server/src/automations/steps/openai.ts index 1c148b2e73..e4c77c3b85 100644 --- a/packages/server/src/automations/steps/openai.ts +++ b/packages/server/src/automations/steps/openai.ts @@ -15,6 +15,8 @@ enum Model { GPT_35_TURBO = "gpt-3.5-turbo", // will only work with api keys that have access to the GPT4 API GPT_4 = "gpt-4", + GPT_4O = "gpt-4o", + GPT_4O_MINI = "gpt-4o-mini" } export const definition: AutomationStepDefinition = { From 0798f97066f943ca571295a036551e56210f558c Mon Sep 17 00:00:00 2001 From: Pascal Reichmuth Date: Thu, 12 Sep 2024 15:53:35 +0200 Subject: [PATCH 2/4] Update StepInputsOutputs.ts --- .../types/src/documents/app/automation/StepInputsOutputs.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/types/src/documents/app/automation/StepInputsOutputs.ts b/packages/types/src/documents/app/automation/StepInputsOutputs.ts index 983a67daf5..fab672e04b 100644 --- a/packages/types/src/documents/app/automation/StepInputsOutputs.ts +++ b/packages/types/src/documents/app/automation/StepInputsOutputs.ts @@ -140,6 +140,8 @@ enum Model { GPT_35_TURBO = "gpt-3.5-turbo", // will only work with api keys that have access to the GPT4 API GPT_4 = "gpt-4", + GPT_4O = "gpt-4o", + GPT_4O_MINI = "gpt-4o-mini" } export type OpenAIStepOutputs = Omit & { From e4664d23d7a48ad2d1bbfa259cb374343b6e8df7 Mon Sep 17 00:00:00 2001 From: Pascal Reichmuth Date: Thu, 12 Sep 2024 16:22:49 +0200 Subject: [PATCH 3/4] Update openai.ts --- packages/server/src/automations/steps/openai.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/automations/steps/openai.ts b/packages/server/src/automations/steps/openai.ts index e4c77c3b85..d02ba56b70 100644 --- a/packages/server/src/automations/steps/openai.ts +++ b/packages/server/src/automations/steps/openai.ts @@ -16,7 +16,7 @@ enum Model { // will only work with api keys that have access to the GPT4 API GPT_4 = "gpt-4", GPT_4O = "gpt-4o", - GPT_4O_MINI = "gpt-4o-mini" + GPT_4O_MINI = "gpt-4o-mini", } export const definition: AutomationStepDefinition = { From 2700dfc63db08a68b90e34c5f82cf1f641f5d32c Mon Sep 17 00:00:00 2001 From: Pascal Reichmuth Date: Thu, 12 Sep 2024 16:23:05 +0200 Subject: [PATCH 4/4] Update StepInputsOutputs.ts --- .../types/src/documents/app/automation/StepInputsOutputs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/documents/app/automation/StepInputsOutputs.ts b/packages/types/src/documents/app/automation/StepInputsOutputs.ts index fab672e04b..9ba7b6cc1d 100644 --- a/packages/types/src/documents/app/automation/StepInputsOutputs.ts +++ b/packages/types/src/documents/app/automation/StepInputsOutputs.ts @@ -141,7 +141,7 @@ enum Model { // will only work with api keys that have access to the GPT4 API GPT_4 = "gpt-4", GPT_4O = "gpt-4o", - GPT_4O_MINI = "gpt-4o-mini" + GPT_4O_MINI = "gpt-4o-mini", } export type OpenAIStepOutputs = Omit & {