Skip to content

Commit 90ca674

Browse files
lbarcziovanforro
andcommitted
Apply suggestions from code review
Co-authored-by: Nikola Forró <[email protected]>
1 parent 32869f5 commit 90ca674

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agents/tools/text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class ViewToolInput(BaseModel):
5151
limit: int | None = Field(
5252
description=(
5353
"For text files only: Maximum number of lines to view (default: 1000). "
54-
"For large files, use with 'offset' to paginate: offset=0 for lines 0-999, offset=1000 for lines 1000-1999, etc."
54+
"For files longer than 1000 lines, use with `offset` to paginate: offset=0 for lines 0-999, offset=1000 for lines 1000-1999, etc."
5555
),
5656
gt=0,
5757
default=1000,
@@ -63,7 +63,7 @@ class ViewTool(Tool[ViewToolInput, ToolRunOptions, StringToolOutput]):
6363
name = "view"
6464
description = """
6565
Outputs the contents of a file or lists the contents of a directory.
66-
For text files, returns up to 1000 lines by default. Use 'offset' and 'limit' to paginate large text files.
66+
For text files, returns up to 1000 lines. Use `offset` and `limit` to paginate large text files.
6767
"""
6868
input_schema = ViewToolInput
6969

0 commit comments

Comments
 (0)