diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 410f819..d010859 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -1,8 +1,8 @@ name: Package on: - # release: - # types: [published] + release: + types: [published] # support manual release in case something goes wrong and needs to be repeated or tested workflow_dispatch: inputs: diff --git a/src/containers/Settings/Settings.tsx b/src/containers/Settings/Settings.tsx index 33c0398..9417bc7 100644 --- a/src/containers/Settings/Settings.tsx +++ b/src/containers/Settings/Settings.tsx @@ -4,11 +4,14 @@ import React, { useEffect, useState } from 'react'; enum OpenAIChatModel { GPT_4 = 'gpt-4', - GPT_4_0314 = 'gpt-4-0314', - GPT_4_32K = 'gpt-4-32k', - GPT_4_32K_0314 = 'gpt-4-32k-0314', + GPT_4_o = 'gpt-4o', + GPT_4_TURBO = 'gpt-4-turbo', + GPT_4_0613 = 'gpt-4-0613', GPT_3_5_TURBO = 'gpt-3.5-turbo', GPT_3_5_TURBO_0301 = 'gpt-3.5-turbo-0301', + GPT_3_5_TURBO_0125 = 'gpt-3.5-turbo-0125', + GPT_3_5_TURBO_1106 = 'gpt-3.5-turbo-1106', + GPT_3_5_TURBO_INSTRUCT = 'gpt-3.5-turbo-instruct', } const Settings = () => { @@ -77,14 +80,7 @@ const Settings = () => { onChange={handleModelChange} defaultValue={OpenAIChatModel.GPT_3_5_TURBO} > - - - - - - + ${...Object.values(OpenAIChatModel).map(value => ())}