MCPcopy
hub / github.com/cheahjs/free-llm-api-resources / get_model_name

Function get_model_name

src/pull_available_models.py:39–44  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

37
38
39def get_model_name(id):
40 id = id.lower()
41 if id in MODEL_TO_NAME_MAPPING:
42 return MODEL_TO_NAME_MAPPING[id]
43 MISSING_MODELS.add(id)
44 return id
45
46
47def get_groq_limits_for_stt_model(model_id, logger):

Callers 10

fetch_groq_modelsFunction · 0.85
fetch_openrouter_modelsFunction · 0.85
fetch_cloudflare_modelsFunction · 0.85
fetch_ovh_modelsFunction · 0.85
fetch_hyperbolic_modelsFunction · 0.85
fetch_lambda_modelsFunction · 0.85
fetch_samba_modelsFunction · 0.85
fetch_scaleway_modelsFunction · 0.85
fetch_cohere_modelsFunction · 0.85
fetch_chutes_modelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected