Merge remote-tracking branch 'upstream/master'

# Conflicts:
#	open-sse/handlers/chatCore.js
#	open-sse/providers/registry/index.js
#	open-sse/services/usage.js
This commit is contained in:
MUH. IQRAM BAHRING committed 2026-08-30 23:23:48 +08:00
commit eaf204b83c
114 files changed
+5587 -2184

No files matched your search

@@ -460,6 +460,12 @@ async function testOAuthConnection(connection, effectiveProxy = null) {
}
async function fetchWithConnectionProxy(url, options = {}, effectiveProxy = null) {
// Add a 15-second timeout to prevent connection testing from hanging indefinitely
// and exhausting the browser/Node.js connection pools.
if (!options.signal) {
options.signal = AbortSignal.timeout(15000);
}
// Vercel relay: forward via relay URL
if (effectiveProxy?.vercelRelayUrl) {
const { proxyAwareFetch } = await import("open-sse/utils/proxyFetch.js");
+1 -1
View File
@@ -20,7 +20,7 @@ async function probeWebProvider(provider, apiKey) {
if (!cfg) return null;
if (cfg.authType === "none") return true; // no-auth (e.g. searxng)
let url = cfg.baseUrl;
let url = cfg.validateUrl || cfg.baseUrl;
const headers = { "Content-Type": "application/json" };
let body;