fix ts error

This commit is contained in:
lloydzhou
2024-09-30 01:30:20 +08:00
parent a50c282d01
commit 9be58f3eb4
9 changed files with 9 additions and 9 deletions

View File

@@ -288,7 +288,7 @@ export function stream(
REQUEST_TIMEOUT_MS,
);
fetchEventSource(chatPath, {
fetch: tauriFetch,
fetch: tauriFetch as any,
...chatPayload,
async onopen(res) {
clearTimeout(requestTimeoutId);