mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-20 16:03:21 +00:00
fix: agent page actions ordered as the script and flow pages
The menu leads and Edit comes last, as DetailPageHeader lays them out. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
91934b5ebd
commit
65b4b2772c
@@ -117,18 +117,6 @@
|
||||
</ToggleButtonGroup>
|
||||
{/if}
|
||||
{#if config && !$userStore?.operator}
|
||||
<!-- Evaluating an agent builds datasets and runs against it: authoring, as editing is. -->
|
||||
{#if canEdit}
|
||||
<Button
|
||||
variant="default"
|
||||
unifiedSize="md"
|
||||
startIcon={{ icon: FlaskConical }}
|
||||
title="Run this agent against a dataset of cases"
|
||||
onClick={() => evalsModal?.openModal()}
|
||||
>
|
||||
Evals
|
||||
</Button>
|
||||
{/if}
|
||||
<DropdownV2
|
||||
placement="bottom-end"
|
||||
size="md"
|
||||
@@ -158,6 +146,18 @@
|
||||
}
|
||||
]}
|
||||
/>
|
||||
<!-- Evaluating an agent builds datasets and runs against it: authoring, as editing is. -->
|
||||
{#if canEdit}
|
||||
<Button
|
||||
variant="default"
|
||||
unifiedSize="md"
|
||||
startIcon={{ icon: FlaskConical }}
|
||||
title="Run this agent against a dataset of cases"
|
||||
onClick={() => evalsModal?.openModal()}
|
||||
>
|
||||
Evals
|
||||
</Button>
|
||||
{/if}
|
||||
{/if}
|
||||
{#if canEdit}
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user