Skip to main content
Use final-output validation when downstream .NET code expects a structured value. Treat validation failures as contract errors rather than transient transport failures. Configure bounded retries with ModelRetryConfig:
The completed step retains its final model-attempt count. Local tool failures are handled separately and are not retried as model requests. GatewayAgentClientOptions carries structured response, routing, provider, reasoning, tool-choice, prompt-cache, and additional request options.
Last modified on July 26, 2026