gorilla icon indicating copy to clipboard operation
gorilla copied to clipboard

FileNotFoundError for tree-sitter

Open prabalv04 opened this issue 9 months ago • 1 comments

Describe the bug I am using gorilla/openfunctions/inference_local.py to infer a model locally, however running into the following issue,

FileNotFoundError: [Errno 2] No such file or directory: './tree-sitter-java/src/parser.c'

To Reproduce Steps to reproduce the behavior:

  1. Install tree_sitter (version 0.21)
  2. Run inference_local.py.

prabalv04 avatar Mar 26 '25 20:03 prabalv04

cc @CharlieJCJ

HuanzhiMao avatar Mar 26 '25 21:03 HuanzhiMao

Hey @CharlieJCJ is this resolved? If so, please close the issue.

ShishirPatil avatar May 11 '25 08:05 ShishirPatil

Able to reproduce the error, fixed in #1045

CharlieJCJ avatar Jun 01 '25 00:06 CharlieJCJ

This bug was because openfunctions scripts aren't updated after #505

CharlieJCJ avatar Jun 01 '25 00:06 CharlieJCJ