Merge pull request #14568 from digisz/master

Add GPT-4o and GPT-4o-mini models
This commit is contained in:
Martin McKeaveney 2024-09-12 16:52:34 +01:00 committed by GitHub
commit 6519da80dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,8 @@ enum Model {
GPT_35_TURBO = "gpt-3.5-turbo", GPT_35_TURBO = "gpt-3.5-turbo",
// will only work with api keys that have access to the GPT4 API // will only work with api keys that have access to the GPT4 API
GPT_4 = "gpt-4", GPT_4 = "gpt-4",
GPT_4O = "gpt-4o",
GPT_4O_MINI = "gpt-4o-mini",
} }
export const definition: AutomationStepDefinition = { export const definition: AutomationStepDefinition = {

View File

@ -140,6 +140,8 @@ enum Model {
GPT_35_TURBO = "gpt-3.5-turbo", GPT_35_TURBO = "gpt-3.5-turbo",
// will only work with api keys that have access to the GPT4 API // will only work with api keys that have access to the GPT4 API
GPT_4 = "gpt-4", GPT_4 = "gpt-4",
GPT_4O = "gpt-4o",
GPT_4O_MINI = "gpt-4o-mini",
} }
export type OpenAIStepOutputs = Omit<BaseAutomationOutputs, "response"> & { export type OpenAIStepOutputs = Omit<BaseAutomationOutputs, "response"> & {