#13752 [Bug]: Wildcard entries appear as models in the /models endpoint
### What happened?
# Problem
We are using wildcards, to forward all available models from providers to our consumers, in the following way
```yaml model_list: - model_name: "openai/*" litellm_params: model: "openai/*" api_key: os.environ/OPENAI_API_KEY - model_name: "anthropic/*" litellm_params: model: "anthropic/*" api_key: os.environ/ANTHROPIC_API_KEY ```
This correctly returns all the available models that Anthropic and OpenAI have, but it also returns `openai/*` and `anthropic/*` as models.
This is a problem, because this misleads consumers to believe the wildcard results are acceptable model names to use when calling the API
# Suggested Solution
The `/models` endpoint should avoid returning wildcards as models.
### Relevant log output
```shell
```
### Are you a ML Ops Team?
No
### What LiteLLM version are you on ?
v1.74.15
### Twitter / LinkedIn details
_No response_