File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,13 @@ def list_alerts(self):
7878 def enable_alert (self , alert_id ):
7979 self ._connection .patch (
8080 f"{ ApiPath .rtstream } /{ self .rtstream_id } /{ ApiPath .index } /{ self .rtstream_index_id } /{ ApiPath .alert } /{ alert_id } /{ ApiPath .status } " ,
81- data = {"status " : "enabled " },
81+ data = {"action " : "enable " },
8282 )
8383
8484 def disable_alert (self , alert_id ):
8585 self ._connection .patch (
8686 f"{ ApiPath .rtstream } /{ self .rtstream_id } /{ ApiPath .index } /{ self .rtstream_index_id } /{ ApiPath .alert } /{ alert_id } /{ ApiPath .status } " ,
87- data = {"status " : "disabled " },
87+ data = {"action " : "disable " },
8888 )
8989
9090
@@ -135,7 +135,7 @@ def index_scenes(
135135 extraction_type = SceneExtractionType .time_based ,
136136 extraction_config = {"time" : 2 , "frame_count" : 5 },
137137 prompt = "Describe the scene" ,
138- model_name = "GPT4o" ,
138+ model_name = None ,
139139 model_config = {},
140140 name = None ,
141141 ):
You can’t perform that action at this time.
0 commit comments