#30004 EmbeddingResponse(**response_json) fails with `must be a mapping, not list` when using openai_like/lm_studio provider with llama.cpp server
## Bug Description
When using `lm_studio/` (or `hosted_vllm/`, `openai/`) as the provider for an OpenAI-compatible embedding server (llama.cpp), LiteLLM raises a `TypeError` because `response_json` passed to `EmbeddingResponse(**response_json)` is a **list** instead of a **dict**.
The upstream server returns a **valid, standard OpenAI-format** response. The bug is in LiteLLM's internal handling of that response.
---
## Error
`lm_studio/` and `hosted_vllm/`:
``` File "litellm/llms/openai_like/embedding/handler.py", line 75, in aembedding return EmbeddingResponse(**response_json) TypeError: litellm.types.utils.EmbeddingResponse() argument after ** must be a mapping, not list ```
`openai/` — same root cause, different layer:
``` File "litellm/llms/openai/openai.py", line 1269, in aembedding stringified_response = response.model_dump() AttributeError: 'list' object has no attribute 'model_dump' ```
---
## Steps to Reproduce
1. Run a llama.cpp embedding server with `--embeddings` flag:
```bash docker run ghcr.io/ggml-org/llama.cpp:server-vulkan \ --embeddings --host 0.0.0.0 --port 8080 \ --hf-repo nomic-ai/nomic-embed-text-v2-moe-GGUF \ --hf-file nomic-embed-te…