mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-11 04:00:38 +00:00
docs(code-runtime-python): correct the sink comment and register the frame parse cap
The review's remaining warning: the _run binding comment claimed the log sink went 'through the bound send', contradicting the sink's actual direct use of the bound encode+write primitives. The comment now states that; the settlement note (en + zh) registers FRAME_PARSE_CAP_BYTES and the 65 MiB-frame regression case. Pairing re-recorded.
This commit is contained in:
@@ -950,7 +950,8 @@ async def _run(channel: ProtocolChannel) -> None:
|
||||
# `_encode_json_plain` (module global) and `self.write_encoded` (class
|
||||
# attribute) at call time, so a program rebinding either before the first
|
||||
# binding call could turn a legitimate call into an exception. dispatch
|
||||
# writes through these directly, and the log sink through the bound send.
|
||||
# and the log sink both write through these directly (the sink does NOT go
|
||||
# through send_sync, whose body resolves the same names at call time).
|
||||
_write_encoded_cls = channel.write_encoded
|
||||
_encode_plain_cls = _encode_json_plain
|
||||
# 1. Boot handshake.
|
||||
|
||||
Reference in New Issue
Block a user