Commit cf12f01
authored
fix: substitute colons with underscores when executing multiturn function calls (#1303)
a colon is not a valid character in a Python identifier, so if
model_name, the resulting string (e.g. "model_id_ClassName_instance:v0")
is not a legal variable name and eval() raises a SyntaxError1 parent c7117de commit cf12f01
File tree
1 file changed
+1
-1
lines changed- berkeley-function-call-leaderboard/bfcl_eval/eval_checker/multi_turn_eval
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments