这是indexloc提供的服务,不要输入任何密码
Skip to content

Replace hardcoded timeouts with AI gateway timeout setting value

What does this MR do and why?

Replaces hardcoded timeouts with the AI gateway timeout setting (default: 60 seconds, minimum: 60 seconds, maximum: 600 seconds) that can be controlled at the admin/instance level.

References

Replace hardcoded timeouts with setting value (#579184)

Bug issue: Make 60s timeout applied by AIGW when making re... (#567878)

How to set up and validate locally

setting = Ai::Setting.instance
setting.update!(ai_gateway_timeout_seconds: 100)

# Verify the change
setting.ai_gateway_timeout_seconds
  • I tested this with Web Agentic Chat and Code Suggestions on the Web IDE and did not see any issues.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Cindy Halim

Merge request reports

Loading