添加 Accept : EventStream 请求头

This commit is contained in:
hz
2025-10-14 09:25:05 +08:00
parent 969c9f6797
commit 70000e2e10

View File

@@ -95,7 +95,8 @@ export default {
fetch('/systemapi/xboe/m/boe/case/ai/chat',{
method: 'POST',
headers: {
'Content-Type': 'application/json'
'Content-Type': 'application/json',
"accept": "text/event-stream",
},
body: JSON.stringify(requestData)
}).then(r=>{