You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch allows for users to configure a default model/provider pair
in the configuration file.
Now models are selected as:
* If no model/provider is specified in the configuration nor in the request,
lightspeed-stack will use the FIRST MODEL AVAILABLE from llama-stack.
* If the default model/provider is specified in the configuration file
and a model/provider ARE NOT PROVIDED IN THE REQUEST, lightspeed-stack
will use the model/provider FROM THE CONFIGURATION FILE.
* If the default model/provider is specified in the configuration file
and a model/provider ARE PROVIDED IN THE REQUEST, lightspeed-stack
will use the model/provider FROM THE REQUEST.
tl;dr the precedent order to use a model is: request, configuration,
first available in llama-stack.
Signed-off-by: Lucas Alvares Gomes <[email protected]>
0 commit comments