Agent管理页面手动触发预检时,先删缓存再预检

This commit is contained in:
xintaofei
2026-03-17 22:56:42 +08:00
parent ef3978a4fa
commit ff54505b6c
4 changed files with 28 additions and 11 deletions

View File

@@ -210,9 +210,13 @@ export async function acpReorderAgents(agentTypes: AgentType[]): Promise<void> {
}
export async function acpPreflight(
agentType: AgentType
agentType: AgentType,
forceRefresh?: boolean
): Promise<PreflightResult> {
return invoke("acp_preflight", { agentType })
return invoke("acp_preflight", {
agentType,
forceRefresh: forceRefresh ?? null,
})
}
export async function acpListAgentSkills(params: {