MCPcopy Create free account
hub / github.com/github/copilot-sdk / _wants_stream

Function _wants_stream

python/e2e/_copilot_request_helpers.py:54–55  ·  view source on GitHub ↗
(body: bytes)

Source from the content-addressed store, hash-verified

52
53
54def _wants_stream(body: bytes) -> bool:
55 return re.search(rb'"stream"\s*:\s*true', body) is not None
56
57
58def model_catalog(supported_endpoints: list[str] | None = None) -> dict:

Callers 1

build_inference_responseFunction · 0.85

Calls 1

searchMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…