File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 8585 fs/directory? (constantly false )]
8686 ((get-in f.tools.filesystem/definitions [" read_file" :handler ])
8787 {" path" (h/file-path " /foo/qux" )}
88- {:db {:workspace-folders [{:uri (h/file-uri " file:///foo/bar/baz" ) :name " foo" }]}})))))
88+ {:db {:workspace-folders [{:uri (h/file-uri " file:///foo/bar/baz" ) :name " foo" }]}
89+ :config {:toolCall {:readFile {:maxLines 2000 }}}})))))
8990 (testing " with line_offset"
9091 (is (match?
9192 {:error false
9697 fs/readable? (constantly true )]
9798 ((get-in f.tools.filesystem/definitions [" read_file" :handler ])
9899 {" path" (h/file-path " /foo/qux" ) " line_offset" 2 }
99- {:db {:workspace-folders [{:uri (h/file-uri " file:///foo/bar/baz" ) :name " foo" }]}})))))
100+ {:db {:workspace-folders [{:uri (h/file-uri " file:///foo/bar/baz" ) :name " foo" }]}
101+ :config {:toolCall {:readFile {:maxLines 2000 }}}})))))
100102 (testing " with limit"
101103 (is (match?
102104 {:error false
You can’t perform that action at this time.
0 commit comments