diff --git a/examples/multi_agent_example.ipynb b/examples/multi_agent_example.ipynb index 920bc15c..388688f2 100644 --- a/examples/multi_agent_example.ipynb +++ b/examples/multi_agent_example.ipynb @@ -19,7 +19,7 @@ "from agentops.agent import track_agent\n", "from dotenv import load_dotenv\n", "import os\n", - "import openai\n", + "from openai import OpenAI\n", "import logging\n", "\n", "from IPython.display import display, Markdown" @@ -50,7 +50,7 @@ "outputs": [], "source": [ "agentops.init(AGENTOPS_API_KEY)\n", - "openai_client = openai.Client()" + "openai_client = openai_client = OpenAI(api_key = OPENAI_API_KEY )" ], "metadata": { "collapsed": false