Skip to content

Commit

Permalink
feat: Add support for o1-preview model (mattzcarey#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucawun authored Oct 31, 2024
1 parent de97038 commit d0d8f7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/core/functions/webhook/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ export const signOff =
"#### Powered by [Code Review GPT](https://github.com/mattzcarey/code-review-gpt)";

export const modelInfo = [
{
model: "o1-preview",
maxPromptLength: 300000, //128k tokens
},
{
model: "gpt-4o",
maxPromptLength: 300000, //128k tokens
Expand Down

0 comments on commit d0d8f7d

Please sign in to comment.