fix: resolve v0.90.0 frontend build errors

This commit is contained in:
coso
2026-03-18 10:56:41 +08:00
parent 8c2cf9f97b
commit 712dba45e7
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ export async function createAgentRuntimeSession(
export async function listAgentRuntimeSessions(): Promise<AsterSessionInfo[]> {
const startedAt = Date.now();
let settled = false;
const slowTimer: ReturnType<typeof setTimeout> | null =
const slowTimer: number | null =
typeof window !== "undefined"
? window.setTimeout(() => {
if (settled) {
+1 -1
View File
@@ -264,7 +264,7 @@ export async function getProjectMemory(
): Promise<ProjectMemory> {
const startedAt = Date.now();
let settled = false;
const slowTimer: ReturnType<typeof setTimeout> | null =
const slowTimer: number | null =
typeof window !== "undefined"
? window.setTimeout(() => {
if (settled) {