Skip to content

Commit d6f7492

Browse files
committed
Update magic.ai.chat.hl
1 parent 153e636 commit d6f7492

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

backend/files/system/openai/magic.startup/magic.ai.chat.hl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,6 @@ select prompt, max(completion) as completion
407407
*/
408408
.session:x:@.arguments/*/session
409409

410-
// To avoid sending finish signal twice!
411-
.finished_sent:bool:false
412-
413410
// Extra information from client.
414411
.extra:x:@.arguments/*/extra
415412

@@ -891,6 +888,10 @@ select prompt, max(completion) as completion
891888

892889
// Invoking OpenAI's API.
893890
.exe
891+
892+
// To avoid sending finish signal twice!
893+
.finished_sent:bool:false
894+
894895
http.post:x:@.api_url
895896
convert:bool:true
896897
headers

0 commit comments

Comments
 (0)