mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-25 03:06:52 +00:00
29dc4e51f9
* fix(huggingface): use get() instead of pop() for input_type parameter Fixes embedding generation for HuggingFace models where input_type override is required (e.g. BAAI/bge-m3). The pop() method was mutating optional_params and removing input_type before downstream functions could access it. * Add unit tests to catch regression * Move tests around