Skip to content

Store API keys for different providers in AI settings #15398

@ThiloteE

Description

@ThiloteE

Is your suggestion for improvement related to a problem? Please describe.
Currently, switching the language model provider (for good reasons) empties the API key field. This is not convenient for users, as they have to type in their API key every time they switch their Provider.

(While inconvenient, the current behaviour is a working solution. It is a security risk to send your API key from provider A to provider B, otherwise provider B could abuse your personal API key to access the service from provider A.)

Describe the solution you'd like
A UI section that allows users to enter separate API keys for multiple providers.

Additional context
Refs https://discourse.jabref.org/t/ai-preferences-add-test-connection-button-and-api-key-show-hide-toggle/9057/3

Metadata

Metadata

Assignees

Labels

component: aigood second issueIssues that involve a tour of two or three interweaved components in JabRef📌 Pinned📍 AssignedAssigned by assign-issue-action (or manually assigned)
No fields configured for feature.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions