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] Rust ADK agent LLM settings: temperature removed, timeout/max_tokens/iterations now live #808
The Rust ADK's agent LLM configuration surface changed in inference-gateway/rust-adk#168 (fixes rust-adk issue #159). Five settings used to be accepted but ignored; four are now live and one is removed, so any docs page that lists the A2A_AGENT_CLIENT_* env vars or AgentConfig fields for the Rust ADK needs an update.
User-facing change:
A2A_AGENT_CLIENT_API_KEY is now sent to the gateway as a bearer token.
A2A_AGENT_CLIENT_MAX_TOKENS now takes effect on non-streaming chat completions (the gateway SDK omits max_tokens from streaming requests).
A2A_AGENT_CLIENT_TIMEOUT_SECS now bounds each LLM request, and the wait for each streamed event; 0 disables the bound.
A2A_AGENT_CLIENT_MAX_CHAT_COMPLETION_ITERATIONS now drives the agent tool loop cap. AgentBuilder::with_max_chat_completion is an alias for with_max_chat_completion_iterations.
Find all Rust ADK pages listing A2A_AGENT_CLIENT_* / AgentConfig - only rust-adk.md carries them; adk.md and typescript-adk.md reference the Go/TS AgentConfig, which is unaffected
Drop temperature from the env reference and the AgentBuilder method table
Document TIMEOUT_SECS, MAX_TOKENS (non-streaming caveat) and MAX_CHAT_COMPLETION_ITERATIONS as effective
Note A2A_AGENT_CLIENT_API_KEY is sent as a bearer token
Note the removal as a breaking change
Validate: bun run lint:md, bun run format:check, bun run build all pass
Commit and open PR
Changes in rust-adk.md
Setting
Update
A2A_AGENT_CLIENT_TEMPERATURE / with_temperature
Removed from both tables; a short pointer under the env table sends readers to the breaking-change note
TIMEOUT_SECS / with_timeout
Now described as bounding each LLM request and each wait for a streamed event, with 0 / Duration::ZERO disabling the bound
MAX_TOKENS / with_max_tokens
Non-streaming caveat spelled out (the gateway SDK omits max_tokens from streaming requests)
MAX_CHAT_COMPLETION_ITERATIONS
Described as the agent tool-loop cap; with_max_chat_completion noted as an alias
API_KEY
Noted as sent to the gateway as a bearer token
A new Temperature removed subsection under AgentBuilder records the removal as breaking and warns that the four formerly inert settings now take effect, so an agent carrying unused values for them will change behaviour on upgrade.
One judgement call worth your eye: the upstream change is still unmerged, so I wrote the version as "first release after 0.12.1" (latest rust-adk release) rather than invent a number. Swap in the real version once it is cut.
Per this repo's conventions I did not link the upstream PR or the rust-sdk tracking issue in the page content.
Activity
edenreich commentedon Sep 26, 2026
@claude Can you document this?
inference-gateway-maintainer commentedon Sep 26, 2026
Claude finished @edenreich's task in 8m 18s —— View job •
docs/issue-808-20260926-0049Documented the Rust ADK agent LLM settings change
A2A_AGENT_CLIENT_*/AgentConfig- onlyrust-adk.mdcarries them;adk.mdandtypescript-adk.mdreference the Go/TSAgentConfig, which is unaffectedAgentBuildermethod tableTIMEOUT_SECS,MAX_TOKENS(non-streaming caveat) andMAX_CHAT_COMPLETION_ITERATIONSas effectiveA2A_AGENT_CLIENT_API_KEYis sent as a bearer tokenbun run lint:md,bun run format:check,bun run buildall passChanges in
rust-adk.mdA2A_AGENT_CLIENT_TEMPERATURE/with_temperatureTIMEOUT_SECS/with_timeout0/Duration::ZEROdisabling the boundMAX_TOKENS/with_max_tokensmax_tokensfrom streaming requests)MAX_CHAT_COMPLETION_ITERATIONSwith_max_chat_completionnoted as an aliasAPI_KEYA new Temperature removed subsection under
AgentBuilderrecords the removal as breaking and warns that the four formerly inert settings now take effect, so an agent carrying unused values for them will change behaviour on upgrade.One judgement call worth your eye: the upstream change is still unmerged, so I wrote the version as "first release after
0.12.1" (latest rust-adk release) rather than invent a number. Swap in the real version once it is cut.Per this repo's conventions I did not link the upstream PR or the rust-sdk tracking issue in the page content.
Create a PR - already opened as #809.
| Branch
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 📦🚀