The Feature
Hi there. I am using this config
model_list:
- model_name: "*"
litellm_params:
model: "openai/*"
api_key: os.environ/OPENAI_API_KEY
It works in that I can call /chat/completions for example. However if I query /models or /v1/models I just get back a single model
{"data":[{"id":"*","object":"model","created":1677610602,"owned_by":"openai"}],"object":"list"}
It would be great if it would list the models available from openai so that I don't have to maintain that list in the UI app.
Motivation, pitch
It would be very convenient to auto populate available models in a UI. you can proxy the call to /models on the open ai (or other vendor) API and return the response.
Twitter / LinkedIn details
No response
The Feature
Hi there. I am using this config
It works in that I can call
/chat/completionsfor example. However if I query/modelsor/v1/modelsI just get back a single modelIt would be great if it would list the models available from openai so that I don't have to maintain that list in the UI app.
Motivation, pitch
It would be very convenient to auto populate available models in a UI. you can proxy the call to /models on the open ai (or other vendor) API and return the response.
Twitter / LinkedIn details
No response