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
+3 -2
View File
@@ -5046,9 +5046,10 @@ export function AgentChatPage({
},
});
logAgentDebug("AgentChatPage", "switchTopic.decision", {
createdDefault: decision.createdDefault,
createdDefault:
decision.status === "ok" ? decision.createdDefault : false,
decisionStatus: decision.status,
projectId: decision.status === "ready" ? decision.projectId : null,
projectId: decision.status === "ok" ? decision.projectId : null,
topicId,
});
+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) {