test(openai_compat): wrap long JSON literal for lint formatting
This commit is contained in:
parent
cd408067fc
commit
77b0b0d686
1 changed files with 3 additions and 1 deletions
|
|
@ -269,7 +269,9 @@ func TestProviderChat_OmitsReasoningContentForMistral(t *testing.T) {
|
||||||
}
|
}
|
||||||
if _, exists := msg["reasoning_content"]; exists {
|
if _, exists := msg["reasoning_content"]; exists {
|
||||||
w.WriteHeader(http.StatusUnprocessableEntity)
|
w.WriteHeader(http.StatusUnprocessableEntity)
|
||||||
_, _ = w.Write([]byte(`{"object":"error","message":"Extra inputs are not permitted","type":"invalid_request_error"}`))
|
_, _ = w.Write([]byte(
|
||||||
|
`{"object":"error","message":"Extra inputs are not permitted","type":"invalid_request_error"}`,
|
||||||
|
))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue