新增 StopWithTimeout 方法,支持传入自定义超时参数: - 替代原有固定 5s 超时的 Stop 方法 - timeout <= 0 时自动使用默认 5s - 原 Stop 方法标记为 Deprecated,内部调用 StopWithTimeout 为配置化关闭超时提供基础设施。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
新增 StopWithTimeout 方法,支持传入自定义超时参数: - 替代原有固定 5s 超时的 Stop 方法 - timeout <= 0 时自动使用默认 5s - 原 Stop 方法标记为 Deprecated,内部调用 StopWithTimeout 为配置化关闭超时提供基础设施。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>