fix default start_line
This commit is contained in:
parent
957d75d226
commit
2f725bf0da
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ func (t *ReadFileLinesTool) Execute(ctx context.Context, args map[string]any) *T
|
|||
return ErrorResult("path is required")
|
||||
}
|
||||
|
||||
startLine, err := getInt64Arg(args, "start_line", 0)
|
||||
startLine, err := getInt64Arg(args, "start_line", 1)
|
||||
if err != nil {
|
||||
return ErrorResult(err.Error())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue