You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trace span input has a size limit The whole run fails, not sending the trace should be at most a log warning:
the generation(aka cost) already happened and tracing is secondary.
I don't want to disable trace all together.
I would like to:
Skip or truncate input/output automatically when too large on spans 2. Don't raise errors but warnings, or at least have the options to ignore them (trace_ignore_errors=True)
Tracing client error 400: {
"error": {
"message": "Invalid 'data[0].span_data.input': data payload too large. Expected a JSON value under 100KB.",
"type": "invalid_request_error",
"param": "data[0].span_data.input",
"code": null
}
}
The text was updated successfully, but these errors were encountered:
Thanks, we should definitely fix this. Though that said - the run shouldn't fail, since it just logs an error (doesn't raise an Exception). Are you seeing the entire run fail?
Truncate span input when too large
Trace span input has a size limit
The whole run fails, not sending the trace should be at most a log warning:the generation(aka cost) already happened and tracing is secondary.
I don't want to disable trace all together.
I would like to:
2. Don't raise errors but warnings, or at least have the options to ignore them (trace_ignore_errors=True)The text was updated successfully, but these errors were encountered: