shivam
e72eac9176
Fix add_model_file_id_mappings when router returns single deployment dict
...
When model_info.id equals model_name (common for batch models), the router
resolves via has_model_id and returns one deployment dict instead of a list.
The dict branch incorrectly iterated deployment keys (model_name,
litellm_params, model_info), producing non-string values that broke
LiteLLM_ManagedFileTable validation on managed file upload.
Normalize list vs dict by wrapping single deployments and extracting
model_info.id for each response pair.
Add regression tests including the batch model id == model_name case.
Made-with: Cursor
2026-04-30 18:04:47 -07:00
..
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-09 11:46:23 -07:00
2026-04-29 19:01:49 -07:00
2026-03-14 18:44:36 -07:00
2026-04-29 18:56:55 +00:00
2026-04-17 13:02:59 -07:00
2026-04-24 12:52:10 -07:00
2026-04-22 23:22:35 +03:00
2026-04-17 13:02:59 -07:00
2026-04-28 23:29:36 -07:00
2026-04-20 19:56:00 +05:30
2026-04-29 22:52:31 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-28 14:24:19 -07:00
2026-04-17 13:02:59 -07:00
2026-04-29 03:48:41 +00:00
2026-04-29 22:52:31 -07:00
2026-04-17 17:36:40 -07:00
2026-04-17 19:29:45 -07:00
2026-03-30 16:24:35 -07:00
2026-04-17 13:02:59 -07:00
2026-04-30 17:05:31 -07:00
2026-04-22 21:28:42 -07:00
2026-04-28 14:51:47 -07:00
2026-04-29 19:49:27 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-30 17:10:15 -07:00
2026-04-20 15:28:08 -07:00
2026-04-17 13:02:59 -07:00
2026-04-22 17:40:42 -07:00
2026-04-17 13:02:59 -07:00
2026-04-30 18:04:47 -07:00
2026-04-17 13:02:59 -07:00
2026-04-30 11:51:32 -07:00
2026-04-17 13:02:59 -07:00
2026-04-20 15:08:00 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-03-30 21:30:57 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-17 13:02:59 -07:00
2026-04-11 13:08:59 -07:00
2026-04-17 13:02:59 -07:00
2026-03-28 20:49:02 -07:00
2026-04-17 13:02:59 -07:00
2026-04-01 19:22:54 -07:00