Roo-Code/apps/web-evals/src/actions/tasks.ts
2025-06-05 22:00:15 -07:00

11 lines
252 B
TypeScript

"use server"
import { revalidatePath } from "next/cache"
import { getTasks as _getTasks } from "@roo-code/evals"
export async function getTasks(runId: number) {
const tasks = await _getTasks(runId)
revalidatePath(`/runs/${runId}`)
return tasks
}