debug: add logging to verify MetricSamples population for LLM context
This commit is contained in:
parent
4cc74021fd
commit
f44073a57d
1 changed files with 8 additions and 0 deletions
|
|
@ -493,6 +493,14 @@ func (b *Builder) computeGuestMetricSamples(guestID string) map[string][]MetricP
|
|||
}
|
||||
}
|
||||
|
||||
// Debug: log if we're returning samples
|
||||
if len(samples) > 0 {
|
||||
log.Debug().
|
||||
Str("guestID", guestID).
|
||||
Int("metricCount", len(samples)).
|
||||
Msg("AI Context: Built metric samples for LLM")
|
||||
}
|
||||
|
||||
return samples
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue