{$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'}
{provider.provider_type} • {provider.default_model}
handleEdit(provider)} > {$t.common.edit}
toggleActive(provider)} > {provider.is_active ? 'Deactivate' : 'Activate'}
{:else}
{$t.llm.no_providers}
{/each}