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:
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
@@ -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