Skip to content

Increase default timeout for Anthropic requests

Nicolas Dular requested to merge nd/increase-ai-request-timeout into master

What does this MR do and why?

This increases the default timeout for Anthropic requests to 30 seconds, from the default HTTP timeouts which are 20 seconds.

It also adds the ability to set the timeout for the client.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports