Skip to content

Commit

Permalink
ImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
qingyun-wu committed Nov 12, 2023
1 parent eb9d6bc commit b77f409
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autogen/oai/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
from flaml.automl.logger import logger_formatter
from .openai_utils import get_key
from collections import defaultdict
import openai

try:
import openai
except ImportError:
ERROR = ImportError("openai is required.")

try:
from openai import (
Expand Down

0 comments on commit b77f409

Please sign in to comment.