Commit Graph
5 Commits
Author SHA1 Message Date
wassnameandClaudypoo 31e1fbac0c Retry 408/429 via x-speakeasy-retries overlay instead of editing generated code
Reverts the hand-edits to the generated utils/retries.py, its .genignore entry, and
the test. Adds an overlay so 408/429 join 5XX in the retry config, regenerating cleanly
per CONTRIBUTING (generated code is not edited directly). Verified with
`speakeasy overlay apply`: statusCodes -> [5XX, 408, 429].

The 400-with-transient-inner-error.code case is not portable to the SDK (status-only
retry config, hooks run outside the retry loop) and is handled client-side instead.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-07-05 09:14:18 +08:00
wassname d159a17d88 Merge remote-tracking branch 'upstream/main' into fix/chat-transient-retries
# Conflicts:
#	.genignore
#	src/openrouter/utils/retries.py
2026-07-05 08:50:09 +08:00
wassnameandClaudypoo 12ce0d4304 Genignore utils/retries.py so speakeasy generate keeps the retry changes
The retry response classification (408/429/5XX + transient inner error.code
on 400s) has no overlay or hook surface in Speakeasy, so retries.py must be
hand-maintained. It is tracked in gen.lock, so without a genignore entry the
next `speakeasy generate` overwrites this PR's changes. pylintrc is already
genignored the same way as precedent.

Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
2026-07-05 08:32:17 +08:00
Matt AppersonandGitHub babeffc9aa docs: Mintlify MDX docs + docs.json; bump Speakeasy to 1.787.0 (#382) 2026-06-30 16:13:28 -04:00
Matt Apperson c702382b4b lint fix 2025-11-13 14:02:45 -05:00