Skip to content

Commit cacd742

Browse files
committed
Fix stdio server params
1 parent 1970412 commit cacd742

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Evaluation Function Toolkit for Python

lf_toolkit/io/stdio_server.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class StdioClient(StreamIO):
1616

1717
def __init__(self):
1818
self.stream = StapledByteStream(
19-
anyio.wrap_file(sys.stdout.buffer),
20-
anyio.wrap_file(sys.stdin.buffer),
19+
anyio.wrap_file(sys.stdout),
20+
anyio.wrap_file(sys.stdin),
2121
)
2222

2323
async def read(self, size: int) -> bytes:

0 commit comments

Comments
 (0)