Skip to content

Commit ce3baf5

Browse files
committed
fix ruff
1 parent b93af5c commit ce3baf5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

agents-core/vision_agents/core/edge/types.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#from __future__ import annotations
22
from dataclasses import dataclass
3-
from enum import StrEnum
43
from typing import Any, Optional, NamedTuple
54
import logging
65

plugins/getstream/vision_agents/plugins/getstream/stream_edge_transport.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import webbrowser
55
from typing import Optional, TYPE_CHECKING
66
from urllib.parse import urlencode
7-
from uuid import uuid4
87

98
import aiortc
109
from getstream import AsyncStream
@@ -144,7 +143,7 @@ async def _on_track_published(self, event: sfu_events.TrackPublishedEvent):
144143
))
145144
else:
146145
raise TimeoutError(
147-
f"Timeout waiting for pending track: {track_type_name} ({expected_kind}) from user {user_id}, "
146+
f"Timeout waiting for pending track: {track_type_int} ({expected_kind}) from user {user_id}, "
148147
f"session {session_id}. Waited {timeout}s but WebRTC track_added with matching kind was never received."
149148
f"Pending tracks: {self._pending_tracks}\n"
150149
f"Key: {track_key}\n"
@@ -297,7 +296,7 @@ async def open_demo(self, call: Call) -> str:
297296
client = call.client.stream
298297

299298
# Create a human user for testing
300-
human_id = f"user-demo-agent"
299+
human_id = "user-demo-agent"
301300
name = "Human User"
302301

303302
# Create the user in the GetStream system

0 commit comments

Comments
 (0)