ModelRetryConfig 配置有限次数的重试:
GatewayAgentClientOptions 包含结构化响应、路由、供应商、推理、工具选择、提示词缓存及其他请求选项。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
验证 .NET Agent 输出,并对有限次数的模型故障进行重试。
ModelRetryConfig 配置有限次数的重试:
ModelRetry = new ModelRetryConfig
{
MaxRetries = 2,
Backoff = TimeSpan.FromMilliseconds(250),
}
GatewayAgentClientOptions 包含结构化响应、路由、供应商、推理、工具选择、提示词缓存及其他请求选项。