Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
HuanzhiMao committed Jul 21, 2024
1 parent 33b9fc3 commit 0d3bc83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions berkeley-function-call-leaderboard/model_handler/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def language_specific_pre_processing(function, test_category):
)
else:
value["description"] += (
" This is Java " + value["type"] + " in string representation."
f" This is Java {value['type']} in string representation."
)
value["type"] = "string"

Expand All @@ -368,7 +368,7 @@ def language_specific_pre_processing(function, test_category):
)
else:
value["description"] += (
" This is JavaScript " + value["type"] + " in string representation."
f" This is JavaScript {value['type']} in string representation."
)
value["type"] = "string"

Expand Down

0 comments on commit 0d3bc83

Please sign in to comment.