chore: change debug logs from INFO to DEBUG level

This commit is contained in:
Ravens2121
2025-12-16 05:32:03 +08:00
parent e889efeda7
commit f3d1cc8dc1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2894,7 +2894,7 @@ func (e *KiroExecutor) streamToChannel(ctx context.Context, body io.Reader, out
if calculatedInputTokens > 0 { if calculatedInputTokens > 0 {
localEstimate := totalUsage.InputTokens localEstimate := totalUsage.InputTokens
totalUsage.InputTokens = calculatedInputTokens totalUsage.InputTokens = calculatedInputTokens
log.Infof("kiro: using contextUsagePercentage (%.2f%%) to calculate input tokens: %d (local estimate was: %d)", log.Debugf("kiro: using contextUsagePercentage (%.2f%%) to calculate input tokens: %d (local estimate was: %d)",
upstreamContextPercentage, calculatedInputTokens, localEstimate) upstreamContextPercentage, calculatedInputTokens, localEstimate)
} }
} }
@@ -2903,7 +2903,7 @@ func (e *KiroExecutor) streamToChannel(ctx context.Context, body io.Reader, out
// Log upstream usage information if received // Log upstream usage information if received
if hasUpstreamUsage { if hasUpstreamUsage {
log.Infof("kiro: upstream usage - credits: %.4f, context: %.2f%%, final tokens - input: %d, output: %d, total: %d", log.Debugf("kiro: upstream usage - credits: %.4f, context: %.2f%%, final tokens - input: %d, output: %d, total: %d",
upstreamCreditUsage, upstreamContextPercentage, upstreamCreditUsage, upstreamContextPercentage,
totalUsage.InputTokens, totalUsage.OutputTokens, totalUsage.TotalTokens) totalUsage.InputTokens, totalUsage.OutputTokens, totalUsage.TotalTokens)
} }
@@ -244,7 +244,7 @@ IMPORTANT: You MUST use <thinking>...</thinking> tags to show your reasoning pro
} else { } else {
systemPrompt = thinkingHint systemPrompt = thinkingHint
} }
log.Infof("kiro-openai: injected thinking prompt") log.Debugf("kiro-openai: injected thinking prompt")
} }
// Process messages and build history // Process messages and build history