Skip to content

Commit

Permalink
OpenRouter: enable mistral
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Oct 15, 2023
1 parent e25c0dc commit 005ad5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

1 comment on commit 005ad5b

@vercel
Copy link

@vercel vercel bot commented on 005ad5b Oct 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

big-agi – ./

big-agi-enricoros.vercel.app
big-agi-git-main-enricoros.vercel.app
get.big-agi.com

Please sign in to comment.