mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 06:56:44 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
922a652c7e
commit
f3308f362a
1 changed files with 6 additions and 1 deletions
|
|
@ -99,7 +99,11 @@ export function SkillTestPanel({
|
|||
}
|
||||
return data as TestResult;
|
||||
},
|
||||
|
||||
onSuccess: (r) => {
|
||||
setResult(r);
|
||||
qc.invalidateQueries({ queryKey: ["skill-test-runs", skillVersionId] });
|
||||
},
|
||||
onError: (e: unknown) => {
|
||||
setResult({
|
||||
status: "error",
|
||||
duration_ms: 0,
|
||||
|
|
@ -108,6 +112,7 @@ export function SkillTestPanel({
|
|||
},
|
||||
});
|
||||
|
||||
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={onOpenChange}>
|
||||
<DialogContent className="max-w-2xl w-full max-h-[90vh] overflow-y-auto">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue