Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HuXiangkun committed Sep 18, 2024
1 parent 5f9bc39 commit 288078e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions refchecker/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def get_model_batch_response(
if not prompts or len(prompts) == 0:
raise ValueError("Invalid input.")

if custom_func is not None:
return custom_func(prompts)
if custom_llm_api_func is not None:
return custom_llm_api_func(prompts)
else:
message_list = []
for prompt in prompts:
Expand Down

0 comments on commit 288078e

Please sign in to comment.