🌿 Fern Regeneration -- November 26, 2025#65
Merged
Conversation
jackfischer
approved these changes
Nov 26, 2025
Greptile OverviewGreptile SummaryFern SDK regeneration updating generator from 4.37.0 to 4.41.1, which introduces enhanced retry logic with X-RateLimit-Reset header support and improved jitter mechanisms.
Confidence Score: 1/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Client
participant HttpClient
participant API Server
Client->>HttpClient: Make HTTP Request
HttpClient->>API Server: Send Request
alt Success Response
API Server-->>HttpClient: 200 OK
HttpClient-->>Client: Return Response
else Rate Limited (429)
API Server-->>HttpClient: 429 + Headers
Note over HttpClient: Check Retry-After header
alt Retry-After present
HttpClient->>HttpClient: Wait min(retry_after, 60s)
else X-RateLimit-Reset present
HttpClient->>HttpClient: Calculate delay from reset time
HttpClient->>HttpClient: Add positive jitter (0-20%)
else Exponential Backoff
HttpClient->>HttpClient: Calculate 1.0 * 2^retries (max 60s)
HttpClient->>HttpClient: Add symmetric jitter (±10%)
end
HttpClient->>API Server: Retry Request
API Server-->>HttpClient: Response
HttpClient-->>Client: Return Response
else Server Error (5xx)
API Server-->>HttpClient: 5xx Error
Note over HttpClient: Apply same retry logic
HttpClient->>HttpClient: Calculate delay with jitter
HttpClient->>API Server: Retry Request
API Server-->>HttpClient: Response
HttpClient-->>Client: Return Response
end
|
There was a problem hiding this comment.
Additional Comments (1)
-
src/credal/core/http_client.py, line 35 (link)syntax:
retry_after_msis a string, cannot be compared with> 0
5 files reviewed, 1 comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR regenerates code to match the latest API Definition.