Skip to content

Commit

Permalink
remove list
Browse files Browse the repository at this point in the history
  • Loading branch information
dannylee1020 committed Dec 16, 2024
1 parent a4313b0 commit db63d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openpo/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def eval_single(
result = res.content[0].input['"evaluation']
result = json.loads(res.choices[0].message.content)["evaluation"]

return {"evaluation": [result]}
return {"evaluation": result}
except (AuthenticationError, ValueError) as e:
raise e
except Exception as e:
Expand Down

0 comments on commit db63d36

Please sign in to comment.