What happened?
For now, the language property is arbitrary filled with "english" value (see here).
The Deepgram API is returning this information as detected_langage (see here) when using detect_language parameter in the query.
This property should be used if present in the response.
Relevant log output
Are you a ML Ops Team?
No
What LiteLLM version are you on ?
v1.79.0
Twitter / LinkedIn details
No response