mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
test without id
This commit is contained in:
parent
e128b272fa
commit
e6836985c8
2 changed files with 6 additions and 3 deletions
|
@ -1990,7 +1990,8 @@ def completion_with_split_tests(models={}, messages=[], use_client=False, overri
|
|||
model_configs = {}
|
||||
if use_client and not override_client:
|
||||
if "id" not in kwargs or kwargs["id"] is None:
|
||||
raise ValueError("Please tag this completion call, if you'd like to update it's split test values through the UI. - eg. `completion_with_split_tests(.., id=1234)`.")
|
||||
kwargs["id"] = str(uuid.uuid4())
|
||||
#raise ValueError("Please tag this completion call, if you'd like to update it's split test values through the UI. - eg. `completion_with_split_tests(.., id=1234)`.")
|
||||
# get the most recent model split list from server
|
||||
models, model_configs = get_model_split_test(models=models, completion_call_id=kwargs["id"])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue