Allows adding new models to the model list in the config.yaml
LiteLLM Params with 'model' requirement - used for completions
Successful Response
const response = await fetch('/model/new', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "model_name": "text", "litellm_params": { "model": "text" }, "model_info": { "id": "text" } }), }); const data = await response.json();
{ "detail": [ { "loc": [ "text" ], "msg": "text", "type": "text" } ] }