Skip to content

fix(rest): format single-digit history length query - #1

Closed
014-code wants to merge 1 commit into
mainfrom
codex/1197-rest-history-length-url
Closed

014-code wants to merge 1 commit into
mainfrom
codex/1197-rest-history-length-url

Conversation

@014-code

@014-code 014-code commented Oct 2, 2026

Copy link
Copy Markdown
Owner

What

Fix REST getTask URL formatting for single-digit historyLength values.

Why

The %2d format specifier pads single-digit values with a leading space, producing an invalid query parameter such as historyLength= 5.

Validation

  • Ran RestTransportTest
  • 12 tests passed
  • Maven build completed successfully

Fixes a2aproject#1197

@014-code 014-code closed this Oct 2, 2026
@014-code
014-code deleted the codex/1197-rest-history-length-url branch October 2, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: REST transport: getTask builds an invalid URL for single-digit historyLength

1 participant