A programming framework for agentic AI
cleanup
Chi Wang45ddfa2dd010
diff --git a/autogen/oai/openai_utils.py b/autogen/oai/openai_utils.pyindex 0215eeeea..9df981b56 100644--- a/autogen/oai/openai_utils.py+++ b/autogen/oai/openai_utils.py@@ -75,6 +75,7 @@ def config_list_openai_aoai("""if "OPENAI_API_KEY" not in os.environ and exclude != "openai":try:+ print(f"{key_file_path}/{openai_api_key_file}")with open(f"{key_file_path}/{openai_api_key_file}") as key_file:os.environ["OPENAI_API_KEY"] = key_file.read().strip()except FileNotFoundError:diff --git a/test/__init__.py b/test/__init__.pydeleted file mode 100644index e69de29bb..000000000diff --git a/test/test_notebook.py b/test/test_notebook.pyindex 84a040217..880249cdf 100644--- a/test/test_notebook.py+++ b/test/test_notebook.py@@ -19,7 +19,7 @@ def run_notebook(input_nb, output_nb="executed_openai_notebook.ipynb", save=Falsfrom nbconvert.preprocessors import CellExecutionErrortry:- nb_loc = os.path.join(here, os.pardir, os.pardir, "notebook")+ nb_loc = os.path.join(here, os.pardir, "notebook")file_path = os.path.join(nb_loc, input_nb)with open(file_path) as nb_file:nb = nbformat.read(nb_file, as_version=4)