screenshot-to-code
screenshot-to-code copied to clipboard
Add field for Anthropic API key in settings
This pull request introduces a new field in the settings UI for capturing the Anthropic API key, enhancing the application's configuration capabilities.
- Adds a new input field for the Anthropic API key in the
SettingsDialogcomponent: Users can now input their Anthropic API key directly through the settings dialog. This field is accompanied by a label and placeholder text, ensuring a consistent user experience with other settings fields. - Updates the
Settingstype to include ananthropicApiKeyproperty: TheSettingsinterface infrontend/src/types.tsis extended to includeanthropicApiKey, allowing the application to store and manage the Anthropic API key as part of its settings.
For more details, open the Copilot Workspace session.
Sweep: PR Review
Sweep is currently reviewing your pr...