Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /BerriAI_litellm /litellm /llms /langflow /a2a.py
| from typing import Any, Final | |
| from litellm.a2a_protocol.utils import ( | |
| get_session_id_from_a2a_params, | |
| scope_session_to_principal, | |
| ) | |
| def merge_a2a_session_into_litellm_params( | |
| litellm_params: dict[str, Any], | |
| params: dict[str, Any], | |
| principal: str | None = None, | |
| ) -> dict[str, Any]: | |
| merged: Final = dict(litellm_params) | |
| session_id: Final = get_session_id_from_a2a_params(params) | |
| if session_id and "session_id" not in merged: | |
| merged["session_id"] = scope_session_to_principal(session_id, principal) | |
| return merged | |
Xet Storage Details
- Size:
- 559 Bytes
- Xet hash:
- dbed95cf32030288641b84aea11e882fe4c805f14abb7b6d9496ea6b2c218922
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.