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

Function set_request_id

logging_utils/core/logger.py:129–131  ·  view source on GitHub ↗

Set the request ID for subsequent logs.

(request_id: str)

Source from the content-addressed store, hash-verified

127
128
129def set_request_id(request_id: str) -> None:
130 """Set the request ID for subsequent logs."""
131 request_id_var.set(request_id)
132
133
134def get_source() -> str:

Callers 15

submit_promptMethod · 0.90
get_responseMethod · 0.90
grid_logger.pyFile · 0.90
handle_model_switchingFunction · 0.90
handle_parameter_cacheFunction · 0.90
gen_sse_from_aux_streamFunction · 0.90

Calls 1

setMethod · 0.80

Tested by 1

test_set_request_idMethod · 0.68