refactor: centralize ndjson streaming transport
This commit is contained in:
@@ -179,6 +179,10 @@ def build() -> dict[str, Any]:
|
||||
{"function": "chat_completion", "path": "backend/llm/transport.py"},
|
||||
{"function": "stream_chat_completion", "path": "backend/llm/transport.py"},
|
||||
],
|
||||
"http_transport": [
|
||||
{"function": "send_json", "path": "backend/http/handler.py"},
|
||||
{"function": "send_ndjson_stream", "path": "backend/http/handler.py"},
|
||||
],
|
||||
"css_layers": css_layers(html),
|
||||
"code_hotspots": code_hotspots(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user