mirror of
https://github.com/githubhjs/CLIProxyAPIPlus.git
synced 2026-07-12 01:25:13 +00:00
chore: change debug logs from INFO to DEBUG level
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user