mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
fix: resolve v0.90.0 frontend build errors
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user