screenshot-to-code icon indicating copy to clipboard operation
screenshot-to-code copied to clipboard

Add field for Anthropic API key in settings

Open abi opened this issue 1 year ago • 1 comments

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 SettingsDialog component: 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 Settings type to include an anthropicApiKey property: The Settings interface in frontend/src/types.ts is extended to include anthropicApiKey, allowing the application to store and manage the Anthropic API key as part of its settings.

For more details, open the Copilot Workspace session.

abi avatar May 17 '24 16:05 abi

Sweep: PR Review

Sweep is currently reviewing your pr...