mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-21 00:02:30 +00:00
* feat: ai agent steps base * better backend and graph * feat: anthropic, log viewer * nit * fix(frontend): hide tool nodes from timeline * move ai agent actions from flow status to flow status module * nits and workspace/hub scripts support * tmp ref * fix merge * feat: display agent tools status in the graph * fix reactivity * fix flow status * nit
41 lines
897 B
Svelte
41 lines
897 B
Svelte
<script lang="ts">
|
|
import type { FlowModuleValue } from '$lib/gen'
|
|
import FlowCardHeader from './FlowCardHeader.svelte'
|
|
|
|
interface Props {
|
|
title?: string | undefined
|
|
summary?: string | undefined
|
|
noEditor: boolean
|
|
noHeader?: boolean
|
|
flowModuleValue?: FlowModuleValue | undefined
|
|
header?: import('svelte').Snippet
|
|
children?: import('svelte').Snippet
|
|
isAgentTool?: boolean
|
|
}
|
|
|
|
let {
|
|
title = undefined,
|
|
summary = $bindable(undefined),
|
|
noEditor,
|
|
noHeader = false,
|
|
flowModuleValue = undefined,
|
|
header,
|
|
children,
|
|
isAgentTool = false
|
|
}: Props = $props()
|
|
</script>
|
|
|
|
<div class="flex flex-col h-full">
|
|
{#if !noEditor && !noHeader}
|
|
<div>
|
|
<FlowCardHeader on:setHash on:reload {title} bind:summary {flowModuleValue} {isAgentTool}>
|
|
{@render header?.()}
|
|
</FlowCardHeader>
|
|
</div>
|
|
{/if}
|
|
|
|
<div class="min-h-0 flex-grow">
|
|
{@render children?.()}
|
|
</div>
|
|
</div>
|