Skip to content

Commit

Permalink
remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
maykcaldas committed Dec 18, 2024
1 parent 727ea83 commit a7bfec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ldp/alg/optimizer/ape.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def aggregate_trajectory(self, trajectory: Trajectory) -> None:
# m is a Message with a result of the LLM. Which completes only strings.
# and we checked the result exists above.
x = next(
cast(str, m.content)
cast(str, m.content)
for m in result.prompt
if (isinstance(m, Message) and m.role == "user")
)
Expand Down

0 comments on commit a7bfec3

Please sign in to comment.