0 || running}
>
{#if $agentsQuery.isLoading}
正在载入智能体…
{:else if $agentsQuery.isError}
智能体列表读取失败。
{:else if activeAgent}
{#if !messages.length && !running}
● AI {activeAgent.name} · 创作助手
{theme.title}
{activeAgent.tagline} · 选择技能与工具,与智能体一起打磨创作。
{/if}
{#if messages.length || running}
{#if $sessionQuery.data?.plan}{/if}
(draft = p)}
onAnswer={handleAnswer}
/>
{/if}
{draft.length} / 20000
{#if attachments.length}
{#each attachments as a (a.path)}
{#if a.kind === 'image'}
})
{/if}
{a.name}
{/each}
{/if}
Ctrl + Enter 发送 · Enter 换行{#if running}{:else}{/if}
{/if}