reduce available types of models

This commit is contained in:
timothycarambat 2023-10-10 11:15:11 -07:00
parent 827a29d074
commit ac2a0b0a06
2 changed files with 0 additions and 11 deletions

View File

@ -117,12 +117,7 @@ export default function LLMSelection({
> >
{[ {[
"gpt-3.5-turbo", "gpt-3.5-turbo",
"gpt-3.5-turbo-0613",
"gpt-3.5-turbo-16k",
"gpt-4", "gpt-4",
"gpt-4-0613",
"gpt-4-32k",
"gpt-4-32k-0613",
].map((model) => { ].map((model) => {
return ( return (
<option key={model} value={model}> <option key={model} value={model}>

View File

@ -120,13 +120,7 @@ function supportedLLM(input = "") {
function validOpenAIModel(input = "") { function validOpenAIModel(input = "") {
const validModels = [ const validModels = [
"gpt-4", "gpt-4",
"gpt-4-0613",
"gpt-4-32k",
"gpt-4-32k-0613",
"gpt-3.5-turbo", "gpt-3.5-turbo",
"gpt-3.5-turbo-0613",
"gpt-3.5-turbo-16k",
"gpt-3.5-turbo-16k-0613",
]; ];
return validModels.includes(input) return validModels.includes(input)
? null ? null