{#each GENERATION_CONFIG_KEYS as key} {@const { label, min, step } = GENERATION_CONFIG_SETTINGS[key]} {@const max = key === 'max_tokens' ? maxTokens : GENERATION_CONFIG_SETTINGS[key].max}
{/each}
Advanced Options
{#each GENERATION_CONFIG_KEYS_ADVANCED as key} {@const settings = GENERATION_CONFIG_SETTINGS[key]}
(conversation.config[key] = Number(e.currentTarget.value))} />
(conversation.config[key] = Number(e.currentTarget.value))} class="h-2 w-full cursor-pointer appearance-none rounded-lg bg-gray-200 accent-black dark:bg-gray-700 dark:accent-blue-500" />
{/each}