#29156 [Bug]: SGLang rerank bug
### Check for existing issues
- [x] I have searched the existing issues and checked that my issue is not a duplicate.
### What happened?
A bug happened! When using SGLang's /v1/rerank endpoint, the response is a plain array/list: [ {"score": 0.95, "index": 0, "document": "..."} ]
However, litellm expects the response to have a results field (like OpenAI's format): { "results": [ {"index": 0, "relevance_score": 0.95, "document": {"text": "..."}} ], "model": "qwen3-reranker-8b", "id": "rerank-xxx" }
When using SGLang backend, litellm crashes with: ``` 'list' object has no attribute 'get' ```
### Steps to Reproduce
1. Start SGLang server with rerank model. 2. Call litellm rerank. 3. Except: litellm.exceptions.APIConnectionError: litellm.APIConnectionError: None - {"error":{"message":"'list' object has no attribute 'get'","type":"None","param":"None","code":"500"}}
### Relevant log output
```shell C:\Users\xxx\PycharmProjects\phoenix-gc\venv\Scripts\python.exe C:/Users/xxx/PycharmProjects/phoenix-gc/script.py 16:26:59 - LiteLLM:WARNING: get_model_cost_map.py:271 - LiteLLM: Failed to fetch remote model cost map from https://raw.githubusercontent.com/BerriAI/litell…