Skip to content

Commit

Permalink
bug: add gpt-4-1106-preview token count info
Browse files Browse the repository at this point in the history
  • Loading branch information
chhoumann committed Nov 6, 2023
1 parent f404425 commit 6c0a6bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ai/getModelMaxTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export function getModelMaxTokens(model: Model) {
return 8192;
case "gpt-3.5-turbo-16k":
return 16384;
case "gpt-4-1106-preview":
return 128000;
case "gpt-4-32k":
return 32768;
}
Expand Down

1 comment on commit 6c0a6bd

@vercel
Copy link

@vercel vercel bot commented on 6c0a6bd Nov 6, 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:

quickadd – ./

quickadd.obsidian.guide
quickadd-chrisbbh.vercel.app
quickadd-git-master-chrisbbh.vercel.app

Please sign in to comment.