Skip to content

Commit

Permalink
Merge branch 'main' into feat-defer-reply
Browse files Browse the repository at this point in the history
  • Loading branch information
rodonguyen authored Apr 27, 2024
2 parents 48aa794 + 0df3b8d commit 5c97ed1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/autocompletes/select-model/autocomplete.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ describe('autocomplete', () => {
"name": "phi",
"value": "phi",
},
{
"name": "phi3",
"value": "phi3",
},
{
"name": "tinydolphin",
"value": "tinydolphin",
Expand Down
2 changes: 1 addition & 1 deletion src/llm/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', 'phỉ', 'tinydolphin', 'mistral', 'mixtral', 'llama3', 'llama3-70b'] as const;
const SUPPORTED_MODELS = ['gpt-3.5-turbo', 'gpt-4', 'phi', 'phi3', '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,
Expand Down

0 comments on commit 5c97ed1

Please sign in to comment.