From 13f0068e698cc45162a17698a37d737a80af4491 Mon Sep 17 00:00:00 2001 From: hanchchch Date: Sat, 8 Apr 2023 18:26:01 +0900 Subject: [PATCH] fix: typo on ModelNotFoundException --- core/agents/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/agents/llm.py b/core/agents/llm.py index 1fd6ab1..85c6a36 100644 --- a/core/agents/llm.py +++ b/core/agents/llm.py @@ -110,7 +110,7 @@ class ModelNotFoundException(Exception): self.model_name = model_name super().__init__( f"\n\nModel {ANSI(self.model_name).to(Color.red())} does not exist.\nMake sure if you have access to the model.\n" - + f"You can the model name with the environment variable {ANSI('MODEL_NAME').to(Style.bold())} on {ANSI('.env').to(Style.bold())}.\n" + + f"You can set the model name with the environment variable {ANSI('MODEL_NAME').to(Style.bold())} on {ANSI('.env').to(Style.bold())}.\n" + "\nex) MODEL_NAME=gpt-4\n" + ANSI( "\nLooks like you don't have access to gpt-4 yet. Try using `gpt-3.5-turbo`."