Merge remote-tracking branch 'origin/feature/v1.3_主agent_rxd' into test

This commit is contained in:
rd
2025-09-01 14:44:10 +08:00

View File

@ -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,