* fix: Bound Outbound Calls Made Inside a Request
RAG queries for file search and message context, OCR provider calls,
action HTTP calls, the moderation check, the stored-image fetch for
base64 providers, and Flux result polling had no timeout. A stalled
upstream hung the chat turn, the upload or the tool call indefinitely,
and Flux kept polling forever on statuses that never become Ready.
Each now runs under a budget from a new librechat.yaml timeouts block
with finite defaults (getOutboundTimeoutMs in @librechat/api). Action
calls also receive the run's abort signal, so stopping a run closes the
socket.
* test: Cover a Stalled RAG Query in the Mock Harness
* fix: Share One Flux Budget Across Submit and Polls, Bound the Vertex Token Exchange
* refactor: Poll Flux Results Through pollUntilSettled
* refactor: Leave Flux Polling for a Separate Migration
* fix: Cap Configured Timeouts at the Node Timer Limit
* fix: Bound the Action Token Refresh and the Whole Image Download
* fix: Cap Every Outbound Budget by Wall-Clock Time
Axios's timeout only fires on an idle socket, so a RAG, OCR, moderation,
action or token response that keeps trickling bytes never ended.
outboundRequestBudget pairs each timeout with an AbortSignal deadline, and
action calls combine it with the run's own signal.
* fix: Name the Budget That Ran Out and Give Actions Five Minutes
The actions default rises to five minutes, since action endpoints are
arbitrary third-party APIs and the old minute could cut off legitimately
slow ones after an upgrade.
A budget overrun now fails with an error naming the timeouts key and its
value, whether it was the idle timeout or the wall-clock deadline, and
logAxiosError logs it as a warning so operators know what to raise. A
deadline cancellation is no longer read as a user stop, so an action that
runs out of time reports a timeout instead of looking like a stopped run.
* fix: Hold Outbound Deadlines Weakly So Finished Requests Leave No Timers
* fix: Check the Budget Before Reading an Error Message
* fix: Report a Wrapped Deadline as a Failure, Not a Stop
* fix: Bound the OAuth Code Exchange and Keep the OCR Budget Hint When Protected
* chore: Sort Imports in axios.ts After Rebase