From d0d8f7db0d3e6208ca2f001ca3e8f221d7274e6b Mon Sep 17 00:00:00 2001 From: lucawun Date: Thu, 31 Oct 2024 15:49:23 +0100 Subject: [PATCH] feat: Add support for o1-preview model (#353) --- services/core/functions/webhook/src/constants.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/core/functions/webhook/src/constants.ts b/services/core/functions/webhook/src/constants.ts index b730ed3b..43d9b8be 100644 --- a/services/core/functions/webhook/src/constants.ts +++ b/services/core/functions/webhook/src/constants.ts @@ -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