Skip to content

Commit

Permalink
endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
sonichi committed Oct 27, 2023
1 parent bd89eec commit f86bb55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/oai/test_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def test_humaneval(num_samples=1):
raise_on_ratelimit_or_timeout=False,
)
# assert response == -1
config_list = autogen.config_list_openai_aoai(KEY_LOC, exclude="aoai")
config_list = autogen.config_list_openai_aoai(KEY_LOC)
# a minimal tuning example
config, _ = autogen.Completion.tune(
data=tune_data,
Expand Down Expand Up @@ -376,7 +376,7 @@ def test_math(num_samples=-1):
]

autogen.Completion.set_cache(seed)
config_list = autogen.config_list_openai_aoai(KEY_LOC)[:2]
config_list = autogen.config_list_openai_aoai(KEY_LOC)
vanilla_config = {
"model": "text-davinci-003",
"temperature": 1,
Expand Down Expand Up @@ -451,5 +451,5 @@ def my_average(results):
# test_chatcompletion()
# test_multi_model()
# test_nocontext()
test_humaneval(1)
# test_math(1)
# test_humaneval(1)
test_math(1)

0 comments on commit f86bb55

Please sign in to comment.