mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-05 06:20:10 +01:00
reduce available types of models
This commit is contained in:
parent
827a29d074
commit
ac2a0b0a06
@ -117,12 +117,7 @@ export default function LLMSelection({
|
||||
>
|
||||
{[
|
||||
"gpt-3.5-turbo",
|
||||
"gpt-3.5-turbo-0613",
|
||||
"gpt-3.5-turbo-16k",
|
||||
"gpt-4",
|
||||
"gpt-4-0613",
|
||||
"gpt-4-32k",
|
||||
"gpt-4-32k-0613",
|
||||
].map((model) => {
|
||||
return (
|
||||
<option key={model} value={model}>
|
||||
|
@ -120,13 +120,7 @@ function supportedLLM(input = "") {
|
||||
function validOpenAIModel(input = "") {
|
||||
const validModels = [
|
||||
"gpt-4",
|
||||
"gpt-4-0613",
|
||||
"gpt-4-32k",
|
||||
"gpt-4-32k-0613",
|
||||
"gpt-3.5-turbo",
|
||||
"gpt-3.5-turbo-0613",
|
||||
"gpt-3.5-turbo-16k",
|
||||
"gpt-3.5-turbo-16k-0613",
|
||||
];
|
||||
return validModels.includes(input)
|
||||
? null
|
||||
|
Loading…
Reference in New Issue
Block a user