Skip to content

Commit

Permalink
clean up RPM controller
Browse files Browse the repository at this point in the history
  • Loading branch information
bhancockio committed Feb 14, 2025
1 parent 74e6362 commit 134e7ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crewai/crew.py
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ def _interpolate_inputs(self, inputs: Dict[str, Any]) -> None:
agent.interpolate_inputs(inputs)

def _finish_execution(self, final_string_output: str) -> None:
if self.max_rpm:
if self._rpm_controller:
self._rpm_controller.stop_rpm_counter()
if agentops:
agentops.end_session(
Expand Down

0 comments on commit 134e7ab

Please sign in to comment.