From 005ad5b0429c936a6b939b0aa571d591d615acff Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Sun, 15 Oct 2023 16:34:42 -0700 Subject: [PATCH] OpenRouter: enable mistral --- src/modules/llms/vendors/openrouter/OpenRouterSourceSetup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/llms/vendors/openrouter/OpenRouterSourceSetup.tsx b/src/modules/llms/vendors/openrouter/OpenRouterSourceSetup.tsx index 9083cdd76..b2a5ea012 100644 --- a/src/modules/llms/vendors/openrouter/OpenRouterSourceSetup.tsx +++ b/src/modules/llms/vendors/openrouter/OpenRouterSourceSetup.tsx @@ -121,7 +121,7 @@ const orModelMap: { [id: string]: { name: string; contextWindowSize: number; isO 'anthropic/claude-instant-1.0': { name: 'Anthropic: Claude Instant (older v1)', contextWindowSize: 9000, isOld: true }, }; -const orModelFamilyOrder = ['openai/', 'anthropic/', 'google/', 'meta-llama/']; +const orModelFamilyOrder = ['openai/', 'anthropic/', 'google/', 'mistralai/', 'meta-llama/']; function orFamilySortFn(a: { id: string }, b: { id: string }): number { const aPrefixIndex = orModelFamilyOrder.findIndex(prefix => a.id.startsWith(prefix));