I use CUSTOM_MODELS in order to specify the model which all of our users make use of.
In my use case I want only gpt-4-1106-preview be available and selected as a default.
With the new CUSTOM_MODELS I can archive that by excluding all models.
This is a very long block of code and also error prone because it would need to be adjusted whenever there are new models available.
CUSTOM_MODELS=-gpt-4-0314,-gpt-4-0613,-gpt-4-32k,-gpt-4-32k-0314,-gpt-4-32k-0613,-gpt-4-vision-preview,-gpt-3.5-turbo-0301,-gpt-3.5-turbo-0613,-gpt-3.5-turbo-1106,-gpt-3.5-turbo-16k,-gpt-3.5-turbo-16k-0613,-gpt-4,-gpt-3.5-turbo
One solution could be to add an -all (and +all) shortcut.
Then what I'm achieving could be done as
CUSTOM_MODELS=-all,+gpt-4-1106-preview
I use CUSTOM_MODELS in order to specify the model which all of our users make use of.
In my use case I want only
gpt-4-1106-previewbe available and selected as a default.With the new
CUSTOM_MODELSI can archive that by excluding all models.This is a very long block of code and also error prone because it would need to be adjusted whenever there are new models available.
One solution could be to add an
-all(and+all) shortcut.Then what I'm achieving could be done as