MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _post_non_stream_attempt

Function _post_non_stream_attempt

uncommon_route/proxy.py:4989–4997  ·  view source on GitHub ↗
(attempt_payload: dict[str, Any])

Source from the content-addressed store, hash-verified

4987 )
4988
4989 async def _post_non_stream_attempt(attempt_payload: dict[str, Any]) -> httpx.Response:
4990 try:
4991 return await _get_client().post(
4992 attempt_payload["target_chat_url"],
4993 json=attempt_payload["transport_body"],
4994 headers=attempt_payload["headers"],
4995 )
4996 except httpx.TransportError as exc:
4997 return _transport_error_response(exc)
4998
4999 def _build_proxy_response(
5000 *,

Callers 1

_handle_chat_coreFunction · 0.85

Calls 3

_get_clientFunction · 0.85
postMethod · 0.45

Tested by

no test coverage detected