Skip to content

Silence tracebacks for rate limit and connection errors in get_response - #23

Merged
hemanth-asirvatham merged 1 commit into
mainfrom
fix-silencing-of-connection-and-rate-limit-errors
Feb 7, 2026
Merged

Silence tracebacks for rate limit and connection errors in get_response#23
hemanth-asirvatham merged 1 commit into
mainfrom
fix-silencing-of-connection-and-rate-limit-errors

Conversation

@hemanth-asirvatham

Copy link
Copy Markdown
Collaborator

Motivation

  • Reduce noisy full-traceback logging for recoverable RateLimitError and APIConnectionError so the first-occurrence notices handle user-visible output and subsequent occurrences are silenced and tracked in periodic status updates.

Description

  • In src/gabriel/utils/openai_utils.py updated both API-call branches in get_response to catch RateLimitError and APIConnectionError and log them at DEBUG (no exc_info) before re-raising, instead of logging full error tracebacks at ERROR.

Testing

  • No automated tests were run for this change.

Codex Task

@github-actions

github-actions Bot commented Feb 7, 2026

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@hemanth-asirvatham
hemanth-asirvatham merged commit 6f9e0b4 into main Feb 7, 2026
1 check failed
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant