Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BFCL] Patch #724 #730

Merged
merged 2 commits into from
Oct 31, 2024
Merged

[BFCL] Patch #724 #730

merged 2 commits into from
Oct 31, 2024

Conversation

HuanzhiMao
Copy link
Collaborator

@HuanzhiMao HuanzhiMao commented Oct 31, 2024

This PR fixes an issue introduced in #724. We need to preserve the original func_call to avoid errors during evaluation.
func_call should be like xxxx_instance.cd(folder='document') so that when eval(func_call), the cd method is invoked. Without the patch, func_call would become cd and thus resulting in variable not found error.

@HuanzhiMao HuanzhiMao added the BFCL-General General BFCL Issue label Oct 31, 2024
Copy link
Collaborator

@CharlieJCJ CharlieJCJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ShishirPatil ShishirPatil merged commit a983779 into ShishirPatil:main Oct 31, 2024
VishnuSuresh27 pushed a commit to VishnuSuresh27/gorilla that referenced this pull request Nov 11, 2024
This PR fixes an issue introduced in ShishirPatil#724. We need to preserve the
original `func_call` to avoid errors during evaluation.
`func_call` should be like `xxxx_instance.cd(folder='document')` so that
when `eval(func_call)`, the `cd` method is invoked. Without the patch,
`func_call` would become `cd` and thus resulting in variable not found
error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFCL-General General BFCL Issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants