Skip to content

Commit

Permalink
Restore test
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Nov 25, 2024
1 parent 8c81889 commit 66c0e63
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions libs/core/kiln_ai/adapters/fine_tune/test_openai_finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ def test_setup(openai_finetune):
FineTuneStatusType.unknown,
"Server connection error",
),
# (
# openai.RateLimitError(message="Rate limit exceeded", body={}),
# FineTuneStatusType.unknown,
# "Rate limit exceeded",
# ),
(
openai.RateLimitError(
message="Rate limit exceeded", body={}, response=MagicMock()
),
FineTuneStatusType.unknown,
"Rate limit exceeded",
),
(
openai.APIStatusError(
"Not found",
Expand Down

0 comments on commit 66c0e63

Please sign in to comment.