From 065aa8d47b71e5f2bba41abdbf71b6f0e1e14244 Mon Sep 17 00:00:00 2001 From: Luca Wunderlich Date: Fri, 25 Oct 2024 20:36:30 +0200 Subject: [PATCH] feat: Add support for o1-preview model --- 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