| 275 | } |
| 276 | |
| 277 | type AILogInfo struct { |
| 278 | Id string `json:"id"` |
| 279 | API auto.Label `json:"api" aolabel:"api"` |
| 280 | Consumer auto.Label `json:"consumer" aolabel:"service"` |
| 281 | IsSystemConsumer bool `json:"is_system_consumer"` |
| 282 | Status int64 `json:"status"` |
| 283 | Ip string `json:"ip"` |
| 284 | Provider auto.Label `json:"provider" aolabel:"ai_provider"` |
| 285 | Model string `json:"model"` |
| 286 | LogTime auto.TimeLabel `json:"log_time"` |
| 287 | Request OriginAIRequest `json:"request"` |
| 288 | Response OriginAIRequest `json:"response"` |
| 289 | } |
| 290 | |
| 291 | type OriginRequest struct { |
| 292 | Header string `json:"header"` |
nothing calls this directly
no outgoing calls
no test coverage detected