Skip to content

Commit

Permalink
fix typo in prompt - the window is 100
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyaoww committed Jul 11, 2024
1 parent b474bbd commit f02c145
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opendevin/runtime/plugins/agent_skills/agentskills.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,13 @@ def open_file(
) -> None:
"""
Opens the file at the given path in the editor. If line_number is provided, the window will be moved to include that line.
It only shows the first 300 lines by default! Max `context_lines` supported is 2000, use `scroll up/down`
It only shows the first 100 lines by default! Max `context_lines` supported is 2000, use `scroll up/down`
to view the file if you want to see more.
Args:
path: str: The path to the file to open, preferred absolute path.
line_number: int | None = 1: The line number to move to. Defaults to 1.
context_lines: int | None = 300: Only shows this number of lines in the context window (usually from line 1), with line_number as the center (if possible). Defaults to 300.
context_lines: int | None = 100: Only shows this number of lines in the context window (usually from line 1), with line_number as the center (if possible). Defaults to 100.
"""
global CURRENT_FILE, CURRENT_LINE, WINDOW

Expand Down

0 comments on commit f02c145

Please sign in to comment.