When using the dataset to setup a provider, the expected UI is one where the provider is selected first, then model, or a substring search on model or provider is the first step.
But what if the UI allows for the user to enter the API key first?
In this case, it would be useful if the possible providers could be focused, because in many cases, the API key itself has a prefix that excludes all providers except the relevant one. Thus a UI where the API key is first entered could, in some cases, be the most efficient one.
So this is asking for an optional feature for the provider TOML where a regexp for how API keys are structured, is provided.
When using the dataset to setup a provider, the expected UI is one where the provider is selected first, then model, or a substring search on model or provider is the first step.
But what if the UI allows for the user to enter the API key first?
In this case, it would be useful if the possible providers could be focused, because in many cases, the API key itself has a prefix that excludes all providers except the relevant one. Thus a UI where the API key is first entered could, in some cases, be the most efficient one.
So this is asking for an optional feature for the provider TOML where a regexp for how API keys are structured, is provided.