File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
plugins/getstream/vision_agents/plugins/getstream Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 99import aiortc
1010from getstream import AsyncStream
1111from getstream .chat .async_client import ChatClient
12- from getstream .models import ChannelInput , ChannelMember
12+ from getstream .models import ChannelInput , ChannelMember , ChannelMemberRequest
1313from getstream .video import rtc
1414from getstream .video .async_call import Call
1515from getstream .video .rtc import ConnectionManager , audio_track
@@ -377,15 +377,8 @@ async def open_demo(self, call: Call) -> str:
377377 data = ChannelInput (
378378 created_by_id = self .agent_user_id ,
379379 members = [
380- ChannelMember (
380+ ChannelMemberRequest (
381381 user_id = human_id ,
382- # TODO: get rid of this when codegen for stream-py is fixed, these fields are meaningless
383- banned = False ,
384- channel_role = "" ,
385- created_at = datetime .datetime .now (datetime .UTC ),
386- notifications_muted = False ,
387- shadow_banned = False ,
388- updated_at = datetime .datetime .now (datetime .UTC ),
389382 custom = {},
390383 )
391384 ],
You can’t perform that action at this time.
0 commit comments