We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7382f25 commit e0c6721Copy full SHA for e0c6721
internal/llmobs/transport/transport.go
@@ -276,8 +276,7 @@ func readErrorBody(resp *http.Response) string {
276
if !strings.Contains(contentType, "application/json") {
277
return ""
278
}
279
- // Limit reading to 1KB to avoid reading huge error responses
280
- body, err := io.ReadAll(io.LimitReader(resp.Body, 1024))
+ body, err := io.ReadAll(resp.Body)
281
if err != nil {
282
283
0 commit comments