Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Fix fine-tuning test
Browse files Browse the repository at this point in the history
The first status changed from created to validating_files

Since this is working either way, just check that it has an id instead
  • Loading branch information
TheoKanning committed Oct 22, 2023
1 parent 44cba2e commit 6e3f139
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.theokanning.openai.fine_tuning.FineTuningJob;
import com.theokanning.openai.fine_tuning.FineTuningJobRequest;
import com.theokanning.openai.fine_tuning.Hyperparameters;
import com.theokanning.openai.finetune.FineTuneResult;
import org.junit.jupiter.api.*;

import java.util.List;
Expand Down Expand Up @@ -49,7 +48,7 @@ void createFineTuningJob() {
FineTuningJob fineTuningJob = service.createFineTuningJob(request);
fineTuningJobId = fineTuningJob.getId();

assertEquals("created", fineTuningJob.getStatus());
assertNotNull(fineTuningJob);
}

@Test
Expand Down

0 comments on commit 6e3f139

Please sign in to comment.