diff --git a/wwwroot/api/cockpit_chat.dspy b/wwwroot/api/cockpit_chat.dspy index a5e5ef8..21d03b0 100644 --- a/wwwroot/api/cockpit_chat.dspy +++ b/wwwroot/api/cockpit_chat.dspy @@ -234,7 +234,7 @@ if action == 'send_message': yield d await sor.C('pipeline_conversations',{'id':getID(),'role':'agent','content':agent_reply,'msg_type':'text','org_id':org_id,'created_by':'system'}) - return await stream_response(request, agent_stream, 'text/plain') + return await stream_response(request, agent_stream, 'text/plain; charset=utf-8') elif action == 'list_messages': async with DBPools().sqlorContext(dbname) as sor: