fix: content-type charset=utf-8 for proper Chinese encoding
This commit is contained in:
parent
62e7aea8b6
commit
08dc10620f
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user