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):
78
78
def enable_alert (self , alert_id ):
79
79
self ._connection .patch (
80
80
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 " },
82
82
)
83
83
84
84
def disable_alert (self , alert_id ):
85
85
self ._connection .patch (
86
86
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 " },
88
88
)
89
89
90
90
@@ -135,7 +135,7 @@ def index_scenes(
135
135
extraction_type = SceneExtractionType .time_based ,
136
136
extraction_config = {"time" : 2 , "frame_count" : 5 },
137
137
prompt = "Describe the scene" ,
138
- model_name = "GPT4o" ,
138
+ model_name = None ,
139
139
model_config = {},
140
140
name = None ,
141
141
):
You can’t perform that action at this time.
0 commit comments