What Happened
- A single correctness-focused change adds empty-response checks before indexing `response.choices[0]` in 16 callsites across multiple `llama_index` LLM integrations, replacing unsafe direct access that could crash with `IndexError`/`AttributeError` when providers return no choices (issue #21337).
- A single correctness-focused change adds empty-response checks before indexing `response.choices[0]` in 16 callsites across multiple `llama_index` LLM integrations, replacing unsafe direct access that could crash with `IndexError`/`AttributeError` when providers return no choices (issue #21337).
- 1 evidence item attached for review.