You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Go SDK retry configuration documents a non-existent RetryOptions API #784
Summary: The Go SDK README documented retry configuration with a stale API: RetryOptions with MaxRetries, MinDelay, MaxDelay and Timeout. None of those exist - the real type is sdk.RetryConfig with Enabled, MaxAttempts, InitialBackoffSec, MaxBackoffSec, BackoffMultiplier, RetryableStatusCodes and OnRetry.
That stale text told users to disable retries by setting the attempt count to 0, which until now made every SDK call panic on a nil pointer (inference-gateway/sdk issue 200). The SDK README is fixed in inference-gateway/sdk PR 204; if the docs site mirrors or restates the Go SDK retry configuration, it needs the same correction.
Behavior change to document: a non-positive MaxAttempts now sends the request exactly once, the same as Enabled: false.
Affected pages: any Go SDK page covering client options / retry configuration.
Done. Issue #784 is resolved in PR #795 (marked ready for review).
What I found: The docs site never carried the stale RetryOptions/MaxRetries/MinDelay/MaxDelay API - a repo-wide grep found zero occurrences. sdks.md's Go SDK "Retry and backoff" section already documents the real sdk.RetryConfig fields and disabling via Enabled: false. The only gap vs the SDK fix (inference-gateway/sdk PR 204) was the new non-positive MaxAttempts behavior.
What changed (1 line in sdks.md): The MaxAttempts table row now states that a value below 1 sends the request exactly once, the same as Enabled: false - the behavior change to document, mirroring the corrected SDK README.
Validation:bun run format:check, bun run lint:md, and bun run build all pass; tree clean, branch pushed, no follow-up issues needed (docs-only change, SDK fix already merged).
Skipped: no rewrite of the whole retry section - the remaining two acceptance criteria were already satisfied, so only the missing behavior sentence was added.
Activity
edenreich commentedon Sep 25, 2026
@infer can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Sep 25, 2026
Model:
ollama_cloud/glm-5.3-flash· View JobTodos
Pull Request
#795
✅ Infer Result: Success
Done. Issue #784 is resolved in PR #795 (marked ready for review).
What I found: The docs site never carried the stale
RetryOptions/MaxRetries/MinDelay/MaxDelayAPI - a repo-wide grep found zero occurrences.sdks.md's Go SDK "Retry and backoff" section already documents the realsdk.RetryConfigfields and disabling viaEnabled: false. The only gap vs the SDK fix (inference-gateway/sdk PR 204) was the new non-positiveMaxAttemptsbehavior.What changed (1 line in
sdks.md): TheMaxAttemptstable row now states that a value below1sends the request exactly once, the same asEnabled: false- the behavior change to document, mirroring the corrected SDK README.Validation:
bun run format:check,bun run lint:md, andbun run buildall pass; tree clean, branch pushed, no follow-up issues needed (docs-only change, SDK fix already merged).Skipped: no rewrite of the whole retry section - the remaining two acceptance criteria were already satisfied, so only the missing behavior sentence was added.
Model:
ollama_cloud/glm-5.3-flash· Exit Code:0· Duration: 2m 39sTokens: 823,333 in · 9,609 out · 832,942 total (23 requests)
Tool calls: 33 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
inference-gateway-releaser commentedon Sep 26, 2026
🎉 This issue has been resolved in version 0.9.17 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀