From 2128f5fe9386dcf2f0597c8035f951c5b60d7562 Mon Sep 17 00:00:00 2001
From: Tuowen Zhao <ztuowen@gmail.com>
Date: Thu, 19 Oct 2023 00:04:44 -0700
Subject: cleanup server

---
 server/continuedev/core/steps.py | 7 -------
 1 file changed, 7 deletions(-)

(limited to 'server/continuedev/core/steps.py')

diff --git a/server/continuedev/core/steps.py b/server/continuedev/core/steps.py
index 5c20dd15..110a4457 100644
--- a/server/continuedev/core/steps.py
+++ b/server/continuedev/core/steps.py
@@ -5,7 +5,6 @@ from textwrap import dedent
 from typing import Coroutine, List, Optional, Union
 
 from ..libs.llm.base import LLM
-from ..libs.llm.openai_free_trial import OpenAIFreeTrial
 from ..libs.util.count_tokens import DEFAULT_MAX_TOKENS
 from ..libs.util.devdata import dev_data_logger
 from ..libs.util.strings import (
@@ -229,12 +228,6 @@ class DefaultModelEditCodeStep(Step):
             + max_tokens
         )
 
-        # If using 3.5 and overflows, upgrade to 3.5.16k
-        if model_to_use.model == "gpt-3.5-turbo":
-            if total_tokens > model_to_use.context_length:
-                model_to_use = OpenAIFreeTrial(model="gpt-3.5-turbo-0613")
-                await sdk.start_model(model_to_use)
-
         # Remove tokens from the end first, and then the start to clear space
         # This part finds the start and end lines
         full_file_contents_lst = full_file_contents.split("\n")
-- 
cgit v1.2.3-70-g09d2