MCPcopy Create free account
hub / github.com/BerriAI/litellm / error_gen_message

Function error_gen_message

litellm/proxy/common_request_processing.py:1561–1563  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1559 error_status, error_obj = sse_error_payload(e)
1560
1561 async def error_gen_message() -> AsyncGenerator[str, None]:
1562 for frame in framing.error_frames(error_obj):
1563 yield frame
1564
1565 return StreamingResponse(
1566 error_gen_message(),

Callers 1

create_responseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected