+{"title": "feat: 为 OpenAI provider 添加可配置的最大重试次数", "body": "## 问题描述\n\nOpenAI provider 的 \\max_retries\\ 硬编码为 10,导致超时时最长等待 20 分钟。\n\n## 修复方案\n\n添加可配置的 \\max_retries\\ 选项,允许用户控制最大重试次数。默认值保持 10。\n\n## 修改内容\n\n- \\openai_source.py\\:从 provider 配置读取 \\max_retries\\,不再使用硬编码值\n- \\default.py\\:在 OpenAI provider 模板中添加 \\max_retries: 10- \\config-metadata.json\\:添加中英俄三语翻译\n\n## 关联 Issue\n\nFixes #7956\n\n## Summary by Sourcery\n\nMake the OpenAI provider retry limit configurable via provider settings while keeping the existing default.\n\nNew Features:\n- Introduce a configurable max_retries option for the OpenAI provider to control API call retry attempts.\n\nEnhancements:\n- Use the provider configuration to determine max_retries in OpenAI text chat and streaming calls instead of a hardcoded value.\n- Extend default OpenAI provider configuration and i18n metadata to surface the new max_retries setting in the UI."}
0 commit comments