Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor support for multiple AI providers #141

Open
InAnYan opened this issue Aug 12, 2024 · 2 comments
Open

Refactor support for multiple AI providers #141

InAnYan opened this issue Aug 12, 2024 · 2 comments
Milestone

Comments

@InAnYan
Copy link
Owner

InAnYan commented Aug 12, 2024

For every AI provider, these pieces of information should be saved:

  • API key
  • Chat model
  • API base URL

We should refactor the code, so that it will be easier to add new AI provider in the future

@InAnYan InAnYan added this to the Week _12 milestone Aug 12, 2024
@InAnYan
Copy link
Owner Author

InAnYan commented Aug 12, 2024

More discussion was there #104

@koppor
Copy link
Collaborator

koppor commented Aug 12, 2024

Note that #104 is about the "Api Keys". The API key handling needs to be separated from the other preferences - to enable late loading.


We need something like "TrustStoreManager", which provides the API key at the latest point in time.

The apiKeys need also to be removed from org.jabref.logic.importer.ImporterPreferences#ImporterPreferences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants