Generate text

Content generation: {contentEnabled ? 'on' : 'off'} · endpoint: {reachable ? 'reachable' : 'unreachable'}

Call 1 (vision classification) is disabled on this branch. Call 2 description generation stays.

{#if !contentEnabled || !reachable}

The Generate text control is disabled: it appears only when content generation is enabled and the inference endpoint is reachable.

{:else}
{#if error}

{error}

{/if} {#if shortDescription}

Short: {shortDescription}

{/if} {#if description}

Long: {description}

{/if} {/if}