### Settings Page Provider Configuration and Model Discovery Source: https://context7.com/n0vella/tubesummary/llms.txt This script manages LLM provider configuration in a standalone settings page. It pre-fills forms with existing settings, populates model autocomplete using background actions, and saves updated settings to storage. ```typescript // src/settings-page/settings.ts // On page load, existing settings are read from storage and pre-fill the form. // Supported provider endpoint examples: const providers = { OpenRouter: 'https://openrouter.ai/api/v1/', Cerebras: 'https://api.cerebras.ai/v1/', Groq: 'https://api.groq.com/openai/v1', 'Together AI': 'https://api.together.xyz/v1/', 'GitHub Models': 'https://models.github.ai/inference', } // Model autocomplete: triggered on focus of the model input field // Calls background: { action: 'listModels', endpoint, apiKey } // Populates with