Created
June 16, 2026 13:29
-
-
Save wp-seopress/4f2e4806f9b587fc1af13c990ec15aba to your computer and use it in GitHub Desktop.
Filter the HTTP request arguments sent by the AI Assistant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'seopress_ai_assistant_request_args', 'sp_ai_assistant_request_args', 10, 2 ); | |
| function sp_ai_assistant_request_args( $args, $provider ) { | |
| // Increase the timeout for AI Assistant requests. | |
| $args['timeout'] = 60; | |
| return $args; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment