Skip to content

[DOCS] AGENT_CLIENT_MAX_RETRIES now covers the ADK streaming path #944

Closed

Description

@inference-gateway-maintainer

Summary

In the Go ADK, AGENT_CLIENT_MAX_RETRIES used to take effect only on non-streaming LLM calls (CreateChatCompletion). As of inference-gateway/adk#386 it also covers the streaming path that AgentBuilder agents use: the upstream SSE connection attempt is retried up to MAX_RETRIES times with a one second linear backoff, while a stream that breaks after the first delta has been forwarded fails instead of replaying events. Any docs page that lists ADK agent client configuration or describes retry behaviour should reflect the new semantics.

Acceptance Criteria

  • Pages describing ADK AGENT_CLIENT_* configuration state that AGENT_CLIENT_MAX_RETRIES applies to both streaming and non-streaming LLM calls
  • The streaming caveat is stated: only opening the stream is retried, forwarded deltas are never replayed
  • No page still claims the setting is non-streaming-only

Reference PR: inference-gateway/adk#386

Activity

  1. added
    documentation
    on Oct 3, 2026
  2. added theissue type on Oct 3, 2026
  3. edenreich commented on Oct 3, 2026

    @edenreich
    Contributor

    @claude can you work on this? use /ponytail:ponytail

  4. inference-gateway-maintainer commented on Oct 3, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 1m 42s —— View job • docs/issue-944-20261003-1840 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-944-20261003-1840?quick_pull=1&title=Issue%20%23944%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23944%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done

    • Find pages documenting ADK AGENT_CLIENT_MAX_RETRIES
    • Update retry semantics (streaming + non-streaming, stream-open-only caveat)
    • Validate (lint:md, format:check, build)
    • Commit and open PR

    Changes

    adk.md only - one table row plus one note:

    • AGENT_CLIENT_MAX_RETRIES purpose now reads "Retry budget for failed LLM calls, streaming and non-streaming."
    • Note under the AGENT_CLIENT_ table: covers both CreateChatCompletion and the AgentBuilder streaming path; only opening the upstream SSE connection is retried (one second linear backoff); once the first delta has been forwarded a broken stream fails the task, deltas are never replayed.

    No page claimed the setting was non-streaming-only, so nothing else needed correcting. The Rust ADK's A2A_AGENT_CLIENT_MAX_RETRIES is a separate implementation and was left alone - say the word if the Rust side changed too.

    PR: #945
    | Branch

  5. moved this from Todo to In progress in 2026on Oct 3, 2026
  6. moved this from QA to Done in 2026on Oct 3, 2026
  7. inference-gateway-releaser commented on Oct 4, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.21 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions