Skip to content

Commit 216a757

Browse files
committed
Update fix to llms
1 parent 5b23742 commit 216a757

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎playground/llms.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ def get_llm_client():
1212
from openai import OpenAI
1313

1414
client = OpenAI(
15-
api_key=os.getenv("OPENAI_API_KEY"),
16-
api_version=os.getenv("OPENAI_API_VERSION"),
15+
api_key=os.getenv("OPENAI_API_KEY"),
1716
)
1817
elif api_type == "azure":
1918
from openai import AzureOpenAI
@@ -28,7 +27,7 @@ def get_llm_client():
2827
from openai import OpenAI
2928

3029
client = OpenAI(
31-
api_key=os.getenv("OPENAI_API_KEY"),
30+
api_key=os.getenv("OPENAI_API_KEY"),
3231
)
3332

3433
return client

0 commit comments

Comments
 (0)