feat(ops): add endpoint/model/request_type fields to error log structs + safeUpstreamURL

This commit is contained in:
Ethan0x0000
2026-03-21 23:30:13 +08:00
parent bda7c39e55
commit 8c4a217f03
4 changed files with 66 additions and 0 deletions

View File

@@ -62,6 +62,12 @@ type OpsErrorLog struct {
ClientIP *string `json:"client_ip"`
RequestPath string `json:"request_path"`
Stream bool `json:"stream"`
InboundEndpoint string `json:"inbound_endpoint"`
UpstreamEndpoint string `json:"upstream_endpoint"`
RequestedModel string `json:"requested_model"`
UpstreamModel string `json:"upstream_model"`
RequestType *int16 `json:"request_type"`
}
type OpsErrorLogDetail struct {