From 1ce38d230be976dcb76df0048dd29b17d23c92c2 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 13 Jun 2023 11:59:03 -0700 Subject: [PATCH] Added basic support for gpt-3.5-turbo-16k --- aider/models.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/aider/models.py b/aider/models.py index 82839f946..dc3057a06 100644 --- a/aider/models.py +++ b/aider/models.py @@ -22,6 +22,14 @@ class Model_GPT35: GPT35 = Model_GPT35() +class Model_GPT35_16k: + name = "gpt-3.5-turbo-16k" + max_context_tokens = 16 * 1024 + + +GPT35 = Model_GPT35_16k() + + def get_model(name): models = [ GPT4_32k,