From 3c19f06e7906d110137c6a933b642430850bf973 Mon Sep 17 00:00:00 2001 From: Mic Neale Date: Sun, 8 Sep 2024 15:15:53 +1000 Subject: [PATCH] shouldn't hardcode truncate to gpt4o mini --- src/exchange/moderators/truncate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exchange/moderators/truncate.py b/src/exchange/moderators/truncate.py index 3185206..f156b23 100644 --- a/src/exchange/moderators/truncate.py +++ b/src/exchange/moderators/truncate.py @@ -20,7 +20,7 @@ class ContextTruncate(Moderator): def __init__( self, - model: str = "gpt-4o-mini", + model: str = None, max_tokens: int = MAX_TOKENS, ) -> None: self.model = model