From 7904505a5cea907d47707c759225a0c12719c2bf Mon Sep 17 00:00:00 2001 From: Rodo Date: Sat, 27 Apr 2024 00:01:06 +1000 Subject: [PATCH] feat: add more llm models (#62) --- src/llm/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llm/utils.ts b/src/llm/utils.ts index 2f0b9b3..b7e787e 100644 --- a/src/llm/utils.ts +++ b/src/llm/utils.ts @@ -6,7 +6,7 @@ const DISCORD_MESSAGE_MAX_CHARACTERS = 2000; const QUESTION_CUT_OFF_LENGTH = 150; const RESERVED_LENGTH = 50; // for other additional strings. E.g. number `(1/4)`, `Q: `, `A: `, etc. -const SUPPORTED_MODELS = ['gpt-3.5-turbo', 'gpt-4', 'phi', 'tinydolphin'] as const; +const SUPPORTED_MODELS = ['gpt-3.5-turbo', 'gpt-4', 'phi', 'phỉ', 'tinydolphin', 'mistral', 'mixtral', 'llama3', 'llama3-70b'] as const; type SupportedModel = (typeof SUPPORTED_MODELS)[number]; export const SUPPORTED_MODELS_MAP = SUPPORTED_MODELS.map((model) => ({ name: model,