From 720b2c04faa3607802e9c1cdc356438464b98554 Mon Sep 17 00:00:00 2001 From: Will Date: Fri, 10 Jul 2026 19:56:26 +0100 Subject: [PATCH] fix(fine_tuning): correct stale comment on hyperparameters copy --- litellm/fine_tuning/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/fine_tuning/main.py b/litellm/fine_tuning/main.py index 736ef6969bc..ef0703b091e 100644 --- a/litellm/fine_tuning/main.py +++ b/litellm/fine_tuning/main.py @@ -174,7 +174,7 @@ def create_fine_tuning_job( optional_params = GenericLiteLLMParams(**kwargs) # handle hyperparameters - hyperparameters = dict(hyperparameters or {}) # original hyperparameters + hyperparameters = dict(hyperparameters or {}) # shallow copy; callers' dict is not mutated # For Azure, extract Azure-specific hyperparameters before creating OpenAI-spec hyperparameters azure_specific_hyperparams = {}