From d6b602cfb74abfd0bb0a5283cb2ffa0de19f646a Mon Sep 17 00:00:00 2001 From: Peter Bakkum Date: Mon, 20 May 2024 20:58:25 -0700 Subject: [PATCH] Revert default encoder --- butterfish/shell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/butterfish/shell.go b/butterfish/shell.go index 4814c9a..eb72582 100644 --- a/butterfish/shell.go +++ b/butterfish/shell.go @@ -32,7 +32,7 @@ import ( // These models are used specifically for counting tokens to pack into // the prompt context const DEFAULT_AUTOSUGGEST_ENCODER = "gpt-3.5-turbo-instruct" -const DEFAULT_PROMPT_ENCODER = "gpt-4o" +const DEFAULT_PROMPT_ENCODER = "gpt-4-turbo" const ESC_CUP = "\x1b[6n" // Request the cursor position const ESC_UP = "\x1b[%dA"