Merge remote-tracking branch 'origin/feature/v1.3_主agent_rxd' into test
This commit is contained in:
@ -12,7 +12,6 @@ const SSE_HEADERS = {
|
||||
'Cache-Control': 'no-cache',
|
||||
Connection: 'keep-alive',
|
||||
Accept: 'text/event-stream',
|
||||
requestid: genRandomId(),
|
||||
};
|
||||
|
||||
interface SSEConfig {
|
||||
@ -53,6 +52,7 @@ export default async (config: SSEConfig, url: string = DEFAULT_SSE_URL): Promise
|
||||
...SSE_HEADERS,
|
||||
Authorization: glsWithCatch('accessToken'),
|
||||
'enterprise-id': store.enterpriseInfo?.id?.toString(),
|
||||
requestid: genRandomId(),
|
||||
...headers,
|
||||
},
|
||||
body,
|
||||
|
||||
Reference in New Issue
Block a user