MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / _test_client_connection

Function _test_client_connection

api_utils/request_processor.py:103–105  ·  view source on GitHub ↗

Test if client is still connected - wrapper for _check_client_connection

(req_id: str, http_request)

Source from the content-addressed store, hash-verified

101
102# Wrapper function for backward compatibility
103async def _test_client_connection(req_id: str, http_request) -> bool:
104 """Test if client is still connected - wrapper for _check_client_connection"""
105 return await _check_client_connection(req_id, http_request)
106
107
108async def _analyze_model_requirements(

Callers 4

queue_workerFunction · 0.85
non_streaming_monitor_fnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected