Skip to content

Commit 2a05aa1

Browse files
committed
fix: make the docs clearer
Signed-off-by: Frost Ming <[email protected]>
1 parent 58de949 commit 2a05aa1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/acp/core.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ async def run_agent(
4141
4242
Args:
4343
agent: The agent implementation to run.
44-
input_stream: The input stream to read from (e.g., ``sys.stdin``), defaults to ``sys.stdin``.
45-
output_stream: The output stream to write to (e.g., ``sys.stdout``), defaults to ``sys.stdout``.
44+
input_stream: The (client) input stream to write to (defaults: ``sys.stdin``).
45+
output_stream: The (client) output stream to read from (defaults: ``sys.stdout``).
4646
**connection_kwargs: Additional keyword arguments to pass to the
4747
:class:`AgentSideConnection` constructor.
4848
"""
@@ -61,8 +61,8 @@ def connect_to_agent(
6161
6262
Args:
6363
client: The client implementation to use.
64-
input_stream: The input stream to read from (e.g., ``sys.stdin``).
65-
output_stream: The output stream to write to (e.g., ``sys.stdout``).
64+
input_stream: The (agent) input stream to write to (default: ``sys.stdin``).
65+
output_stream: The (agent) output stream to read from (default: ``sys.stdout``).
6666
**connection_kwargs: Additional keyword arguments to pass to the
6767
:class:`ClientSideConnection` constructor.
6868

0 commit comments

Comments
 (0)