Skip to content

Commit

Permalink
Update usage of OpenAI client (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhinavMir authored Apr 28, 2024
1 parent 52a70ee commit 712bb68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/multi_agent_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 712bb68

Please sign in to comment.