Skip to content

Commit

Permalink
more globals
Browse files Browse the repository at this point in the history
  • Loading branch information
choccccy committed Jul 22, 2023
1 parent dafa31f commit 4c79674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylib/async_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def openai_api_surrogate(prompt, api_func=None, **kwargs):

trimmed_kwargs = {}
for k in kwargs:
if k in OPENAI_GLOALS:
if k in OPENAI_GLOBALS:
setattr(openai, k, kwargs[k])
else:
trimmed_kwargs[k] = kwargs[k]
Expand Down

0 comments on commit 4c79674

Please sign in to comment.