mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-08 08:08:37 +00:00
test(exceptions): use SGLang's real top-level error body in overflow regression
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
4fcb5ecf5a
commit
17307df6e8
1 changed files with 1 additions and 1 deletions
|
|
@ -474,7 +474,7 @@ async def test_sglang_context_window_error_mapping(
|
|||
return httpx.Response(
|
||||
400,
|
||||
request=request,
|
||||
json={"error": {"message": error_message, "type": "BadRequestError", "param": None, "code": 400}},
|
||||
json={"object": "error", "message": error_message, "type": "BadRequestError", "param": None, "code": 400},
|
||||
)
|
||||
|
||||
transport: Final = httpx.MockTransport(reject_request)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue