Skip to content

fix: condense 429 error logging and suppress litellm Provider List spam#134

Open
b3nw wants to merge 1 commit intoMirrowel:devfrom
b3nw:fix/logging-issues
Open

fix: condense 429 error logging and suppress litellm Provider List spam#134
b3nw wants to merge 1 commit intoMirrowel:devfrom
b3nw:fix/logging-issues

Conversation

@b3nw
Copy link
Contributor

@b3nw b3nw commented Feb 16, 2026

two small logging "fixes"/improvements.

Issue 1: Gemini CLI 429 errors were dumping the full JSON error body across 20+ lines of console output. Now extracts key info (message, quotaResetDelay) into a single warning line. Full body still logged to transaction file.

Issue 2: litellm prints 'Provider List: https://docs.litellm.ai/docs/providers' when custom OpenAI-compatible providers aren't in its known model list. Set litellm.suppress_debug_info = True to silence this.


Important

Condense Gemini CLI 429 error logs and suppress litellm provider list log to improve console readability.

  • Logging Improvements:
    • Condense Gemini CLI 429 error logs in gemini_cli_provider.py to a single console line with key info (message, quotaResetDelay), while logging full error body to transaction file.
    • Suppress litellm provider list log in main.py by setting litellm.suppress_debug_info = True.
  • Behavior:
    • Console output for 429 errors now shows a single-line summary instead of full JSON body.
    • Full error details are still logged to the transaction file for debugging purposes.

This description was created by Ellipsis for 8e4844c. You can customize this summary. It will automatically update as commits are pushed.

Issue 1: Gemini CLI 429 errors were dumping the full JSON error body across
20+ lines of console output. Now extracts key info (message, quotaResetDelay)
into a single warning line. Full body still logged to transaction file.

Issue 2: litellm prints 'Provider List: https://docs.litellm.ai/docs/providers'
when custom OpenAI-compatible providers aren't in its known model list.
Set litellm.suppress_debug_info = True to silence this.
@b3nw b3nw marked this pull request as ready for review February 16, 2026 15:30
@b3nw b3nw requested a review from Mirrowel as a code owner February 16, 2026 15:31
@b3nw
Copy link
Contributor Author

b3nw commented Feb 16, 2026

@mirrobot-agent wakeup, review, go go go

MasuRii added a commit to MasuRii/LLM-API-Key-Proxy that referenced this pull request Feb 17, 2026
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.

1 participant