{#if bars.length} {$i18n.t('Recorded tokens by response')} {$i18n.t('Input')} {$i18n.t('Output')} {#if usage.some((bar) => bar.errors > 0)}{$i18n.t( 'Response errors' )}{/if} {#each [ceiling, ceiling * 0.75, ceiling / 2, ceiling * 0.25, 0] as value} {formatter.format(value)} {/each} {#each bars as bar, index (bar.first)} (active = index)} on:focus={() => (active = index)} on:keydown={(event) => navigate(event, index)} on:click={() => onSelect(bar.offset)} > {#if !bar.recorded}- {:else if total(bar) === 0} {:else} {/if} {#if bar.errors}{/if} {/each} {bars[0].first}{$i18n.t('Response order')}{bars[bars.length - 1].last} {#if current} {range(current)} {$i18n.t('Input')} {amount(current.input_tokens)}{$i18n.t('Output')} {amount(current.output_tokens)} {#if partial(current)}{$i18n.t('Partial usage')} · {current.complete}/{current.last - current.first + 1} {$i18n.t('complete')}{/if} {#if current.errors}{current.errors} {$i18n.t('Response errors')}{/if} {/if} {$i18n.t( 'Select a bar to jump to its saved responses. Grouped bars sum consecutive responses.' )} {$i18n.t('- usage not recorded')} {/if}
{$i18n.t( 'Select a bar to jump to its saved responses. Grouped bars sum consecutive responses.' )} {$i18n.t('- usage not recorded')}