mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix reading files/ft config
This commit is contained in:
parent
a6e62da9fb
commit
ddc74dbccc
2 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,9 @@ fine_tuning_config = None
|
|||
|
||||
|
||||
def set_fine_tuning_config(config):
|
||||
if config is None:
|
||||
return
|
||||
|
||||
global fine_tuning_config
|
||||
if not isinstance(config, list):
|
||||
raise ValueError("invalid fine_tuning config, expected a list is not a list")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue