Skip to content

fix(ai-gateway): reduce provider sync log spam#4256

Merged
chrarnoldus merged 1 commit into
mainfrom
fix/reduce-provider-sync-log-spam
Jun 25, 2026
Merged

fix(ai-gateway): reduce provider sync log spam#4256
chrarnoldus merged 1 commit into
mainfrom
fix/reduce-provider-sync-log-spam

Conversation

@chrarnoldus

Copy link
Copy Markdown
Contributor

Summary

  • Replace per-model gateway sync debug logs with one aggregate log per gateway.
  • Preserve the fetched model count and gateway ID for successful sync observability without emitting hundreds of lines.

Verification

N/A - logging-only change with no user-facing behavior.

Visual Changes

N/A

Reviewer Notes

The aggregate debug log is emitted only after the existing minimum model-count validation succeeds.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
@chrarnoldus chrarnoldus self-assigned this Jun 25, 2026
@kilo-code-bot

kilo-code-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • apps/web/src/lib/ai-gateway/providers/openrouter/sync-providers.ts

Reviewed by gpt-5.4-20260305 · Input: 32K · Output: 3.8K · Cached: 161.3K

Review guidance: REVIEW.md from base branch main

@chrarnoldus chrarnoldus merged commit 6b74f94 into main Jun 25, 2026
16 checks passed
@chrarnoldus chrarnoldus deleted the fix/reduce-provider-sync-log-spam branch June 25, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants