From 72580f9248727eae6168daf1c25a978040a7b965 Mon Sep 17 00:00:00 2001 From: etr2460 Date: Tue, 28 Nov 2023 15:45:36 -0800 Subject: [PATCH] Fix client in registry --- evals/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evals/registry.py b/evals/registry.py index f5d5605b1a..1683c08c04 100644 --- a/evals/registry.py +++ b/evals/registry.py @@ -16,7 +16,7 @@ import openai from openai import OpenAI -client = OpenAI() +client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY")) import yaml from evals import OpenAIChatCompletionFn, OpenAICompletionFn