Describe the issue
I encountered an error while running bfcl generate. The error occurred in the file gorilla/berkeley-function-call-leaderboard/bfcl/model_handler/oss_model/base_oss_handler.py in the function def _multi_threaded_inference(self, test_case, include_input_log: bool, include_state_log: bool):.
The line model_responses, metadata = self.inference_single_turn_prompting(test_case, include_input_log, include_state_log) caused a runtime error. I discovered that the function inference_single_turn_prompting only accepts the parameters test_case and include_input_log. However, the code additionally passes include_state_log, which leads to the runtime error. When I removed include_state_log, the code ran successfully.
ID datapoint
Datapoint / Model Handler permalink:
Issue:
Gorilla repo commit #:
What is the issue
The function inference_single_turn_prompting does not accept include_state_log as a parameter, causing a runtime error when it is passed.
Proposed Changes
Describe the issue I encountered an error while running bfcl generate. The error occurred in the file gorilla/berkeley-function-call-leaderboard/bfcl/model_handler/oss_model/base_oss_handler.py in the function def _multi_threaded_inference(self, test_case, include_input_log: bool, include_state_log: bool):.
The line model_responses, metadata = self.inference_single_turn_prompting(test_case, include_input_log, include_state_log) caused a runtime error. I discovered that the function inference_single_turn_prompting only accepts the parameters test_case and include_input_log. However, the code additionally passes include_state_log, which leads to the runtime error. When I removed include_state_log, the code ran successfully.
ID datapoint
What is the issue The function inference_single_turn_prompting does not accept include_state_log as a parameter, causing a runtime error when it is passed. Proposed Changes
{ 'previous_datapoint':[], 'updated_datapoint':[] }
Additional context Add any other context about the problem here.