Plus-L opened a new issue, #12203: URL: https://github.com/apache/apisix/issues/12203
### Description Hello! In the ai-proxy-multi plugin, the 'timeout' field currently controls both streaming and non-streaming request timeouts. However, the timeout calculation differs significantly between these two modes: Streaming mode: Timeout is measured between consecutive data chunks Non-streaming mode: Timeout is measured for the entire response payload This unified timeout approach creates several issues: Non-streaming requests (e.g., Resoning LLMs) often require much longer timeouts (minutes in some cases, But the maximum timeout in the plugin is 60s) It's impossible to optimize timeout values for both modes simultaneously Proposal: I suggest splitting the timeout field into two separate configuration options: streaming_timeout: Controls the maximum time between consecutive data chunks in streaming mode non_streaming_timeout: Controls the maximum time for the entire response in non-streaming mode Best regards -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
