Skip to content

Commit 8cf8788

Browse files
committed
rename variable to fix convention
1 parent 33fd70d commit 8cf8788

File tree

1 file changed

+3
-3
lines changed
  • agents-core/vision_agents/core/agents

1 file changed

+3
-3
lines changed

agents-core/vision_agents/core/agents/agents.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ async def recv(self):
846846
)
847847
self._current_video_track_id = track_id
848848

849-
hasImageProcessers = len(self.image_processors) > 0
849+
has_image_processors = len(self.image_processors) > 0
850850

851851
# video processors - pass the raw forwarder (they process incoming frames)
852852
for processor in self.video_processors:
@@ -860,7 +860,7 @@ async def recv(self):
860860
)
861861

862862
# Use raw forwarder for image processors - only if there are image processors
863-
if not hasImageProcessers:
863+
if not has_image_processors:
864864
# No image processors, just keep the connection alive
865865
self.logger.info(
866866
"No image processors, video processing handled by video processors only"
@@ -881,7 +881,7 @@ async def recv(self):
881881
timeout_errors = 0
882882
consecutive_errors = 0
883883

884-
if hasImageProcessers:
884+
if has_image_processors:
885885
img = video_frame.to_image()
886886

887887
for processor in self.image_processors:

0 commit comments

Comments
 (0)