MCPcopy Create free account
hub / github.com/OpenRouterTeam/python-sdk / get_body_content

Function get_body_content

src/openrouter/utils/logger.py:19–20  ·  view source on GitHub ↗
(req: httpx.Request)

Source from the content-addressed store, hash-verified

17
18
19def get_body_content(req: httpx.Request) -> str:
20 return "<streaming body>" if not hasattr(req, "_content") else str(req.content)
21
22
23def get_default_logger() -> Logger:

Callers 1

doMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected