From a2bc813c67dd8c1bfdf14f07ba89928d1a29bf38 Mon Sep 17 00:00:00 2001 From: Lucas Thom Ramos Date: Sat, 20 Jul 2024 10:25:48 -0300 Subject: [PATCH] add support for gpt-4o-mini (#342) --- packages/code-review-gpt/src/review/constants.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/code-review-gpt/src/review/constants.ts b/packages/code-review-gpt/src/review/constants.ts index 88d4bfdd..abcc8c22 100644 --- a/packages/code-review-gpt/src/review/constants.ts +++ b/packages/code-review-gpt/src/review/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: "gpt-4o-mini", + maxPromptLength: 300000, //128k tokens + }, { model: "gpt-4o", maxPromptLength: 300000, //128k tokens