File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -902,13 +902,14 @@ async def send_update(session_id):
902
902
# Send thinking status to client and ask LLM for answer
903
903
await sio .emit ('update' , {'update' : 'Thinking... ' , 'voice' : 'ai' },room = session_id )
904
904
answer = await ask_context (temp_context )
905
+ await sio .emit ('update' , {'update' : '\n \n ' , 'voice' : 'ai' },room = session_id )
905
906
# Load request for CoT conclusion into conversational thread
906
907
cot_prompt = expand_prompt (prompts ["chain_of_thought_summary" ], {"context_str" : answer ,
907
908
"prompt" : client [session_id ]["cot_prompt" ]})
908
909
client [session_id ]["prompt" ] = cot_prompt
909
910
except Exception as erro :
910
911
log (f"CoT error - continuing with original prompt: { erro } " )
911
- await sio .emit ('update' , {'update' : '\n \n ' , 'voice' : 'ai' },room = session_id )
912
+ await sio .emit ('update' , {'update' : '\n \n ' , 'voice' : 'ai' },room = session_id )
912
913
else :
913
914
client_cot = False
914
915
try :
You can’t perform that action at this time.
0 commit comments