{$t.llm.providers_title}
{ resetForm(); showForm = true; }} > {$t.llm.add_provider}
{#if showForm}
{editingProvider ? $t.llm.edit_provider : $t.llm.new_provider}
{$t.llm.name}
{$t.llm.type}
OpenAI
OpenRouter
Kilo
{$t.llm.base_url}
{$t.llm.api_key}
{$t.llm.default_model}
{$t.llm.active}
{#if testStatus.message}
{testStatus.message}
{/if}
{ showForm = false; }} > {$t.llm.cancel}
{isTesting ? $t.llm.testing : $t.llm.test}
{$t.llm.save}
{/if}
{#each providers as provider}
{provider.name}
{provider.is_active ? $t.llm.active : "Inactive"}
{isMultimodalModel(provider.default_model) ? ($t.llm?.multimodal ) : ($t.llm?.text_only )}
{provider.provider_type} • {provider.default_model}
handleEdit(provider)} > {$t.common.edit}
toggleActive(provider)} disabled={togglingProviderIds.has(provider.id)} > {#if togglingProviderIds.has(provider.id)} ... {:else} {provider.is_active ? "Deactivate" : "Activate"} {/if}
{:else}
{$t.llm.no_providers}
{/each}