Skip to content

Commit 905f2f7

Browse files
committed
hyperparameters arg lint fix
1 parent 34518c4 commit 905f2f7

File tree

1 file changed

+1
-1
lines changed
  • src/openai/cli/_api/fine_tuning

1 file changed

+1
-1
lines changed

src/openai/cli/_api/fine_tuning/jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class CLIFineTuningJobsListEventsArgs(BaseModel):
136136
class CLIFineTuningJobs:
137137
@staticmethod
138138
def create(args: CLIFineTuningJobsCreateArgs) -> None:
139-
hyperparameters = json.loads(args.hyperparameters) if args.hyperparameters is not NOT_GIVEN else NOT_GIVEN
139+
hyperparameters = json.loads(str(args.hyperparameters)) if args.hyperparameters is not NOT_GIVEN else NOT_GIVEN
140140
fine_tuning_job: FineTuningJob = get_client().fine_tuning.jobs.create(
141141
model=args.model,
142142
training_file=args.training_file,

0 commit comments

Comments
 (0)