From 109fddb6dd27d36175b1101afb81212972cd276f Mon Sep 17 00:00:00 2001 From: Paul Swingle Date: Thu, 18 Apr 2024 09:52:08 -0700 Subject: [PATCH] future proofing --- mentat/llm_api_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mentat/llm_api_handler.py b/mentat/llm_api_handler.py index 096b06dbf..4e8ac25cd 100644 --- a/mentat/llm_api_handler.py +++ b/mentat/llm_api_handler.py @@ -174,7 +174,7 @@ async def initialize_client(self): from mentat.session_input import collect_user_input match provider.name: - case "open_ai": + case "open_ai" | "openai": env_variable = "OPENAI_API_KEY" case "anthropic": env_variable = "ANTHROPIC_API_KEY"