mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
chore: return a Mapping from the inject id restore, as the type gate asks
This commit is contained in:
parent
d9702cef42
commit
fdea57c401
1 changed files with 1 additions and 1 deletions
|
|
@ -2019,7 +2019,7 @@ def _restore_wrapped_ids_in_response_create(msg_obj: Mapping[str, object]) -> di
|
|||
return {**msg_obj, **top_fields, **restored_nested}
|
||||
|
||||
|
||||
def _restore_wrapped_ids_in_response_inject(msg_obj: Mapping[str, object]) -> dict[str, object] | None:
|
||||
def _restore_wrapped_ids_in_response_inject(msg_obj: Mapping[str, object]) -> Mapping[str, object] | None:
|
||||
response_id: Final = msg_obj.get("response_id")
|
||||
original_id: Final = (
|
||||
ResponsesAPIRequestUtils.decode_previous_response_id_to_original_previous_response_id(response_id)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue