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

Function set_source

logging_utils/core/logger.py:124–126  ·  view source on GitHub ↗

Set the source identifier for subsequent logs.

(source: str)

Source from the content-addressed store, hash-verified

122
123
124def set_source(source: str) -> None:
125 """Set the source identifier for subsequent logs."""
126 source_var.set(source)
127
128
129def set_request_id(request_id: str) -> None:

Callers 6

grid_logger.pyFile · 0.90
setup_launcher_loggingFunction · 0.90
chat_completionsFunction · 0.90
mainFunction · 0.90
builtinFunction · 0.90
test_set_sourceMethod · 0.85

Calls 1

setMethod · 0.80

Tested by 1

test_set_sourceMethod · 0.68