mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 02:11:28 +00:00
fix(cliproxy): keep remote-proxy client under maintainability limit
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user