mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
fix(mcp): annotate virtual request metadata
This commit is contained in:
parent
561d588f2b
commit
98022447d0
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ async def _build_virtual_call_logging_obj(
|
|||
headers: Final = dict(raw_headers) if raw_headers else {}
|
||||
call_id: Final = resolve_litellm_call_id(headers.get("x-litellm-call-id"))
|
||||
trace_id: Final = get_chain_id_from_headers(headers)
|
||||
request_data: dict[str, object] = {
|
||||
request_data: Final[dict[str, object]] = { # mutable-ok: the proxy metadata helper updates this mapping
|
||||
"model": f"MCP: {name}",
|
||||
"call_type": CallTypes.call_mcp_tool.value,
|
||||
"litellm_call_id": call_id,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue