fix(cliproxy): keep remote-proxy client under maintainability limit

This commit is contained in:
Tam Nhu Tran
2026-02-22 22:44:26 +07:00
parent 34292ca7f8
commit 88be99f8a0
+1 -8
View File
@@ -341,14 +341,7 @@ export async function checkRemoteProxy(
}
}
/**
* Test connection to remote CLIProxyAPI (alias for dashboard use)
*
* This is an alias for checkRemoteProxy() for semantic clarity in UI contexts.
*
* @param config Remote proxy client configuration
* @returns RemoteProxyStatus with reachability and latency
*/
/** Alias for dashboard connection tests. */
export async function testConnection(config: RemoteProxyClientConfig): Promise<RemoteProxyStatus> {
return checkRemoteProxy(config);
}